News Contact
Web Development Design UK USA India, Web Software Applications Development Programming Contact Custom Web Software Developers Programming Company India Contact Web Software Development Company Call Request For Web Software Development Programming RFI RFP RFQ Web Development Design UK USA India, Web Software Applications Development Programming Contact website development and web design company, advanced portal development UK USA Site Map: Internet applications to discover your NET potential
semop
  • semop KEY,OPSTRING

    Calls the System V IPC function semop to perform semaphore operations such as signalling and waiting. OPSTRING must be a packed array of semop structures. Each semop structure can be generated with pack("s!3", $semnum, $semop, $semflag) . The length of OPSTRING implies the number of semaphore operations. Returns true if successful, or false if there is an error. As an example, the following code waits on semaphore $semnum of semaphore id $semid:

        $semop = pack("s!3", $semnum, -1, 0);
        die "Semaphore trouble: $!\n" unless semop($semid, $semop);

    To signal the semaphore, replace -1 with 1 . See also "SysV IPC" in perlipc, IPC::SysV , and IPC::SysV::Semaphore documentation.

Manual:

Reference:


To know more about Pegasus, our services and solutions, drop us a message or mail us at info@pegasusinfocorp.com
© 2007, Pegasus InfoCorp Pvt. Ltd. All Rights Reserved.
Web Development Company