SYS_SETEF_semop man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

SYS$SETEF (OpenVMS)					   SYS$SETEF (OpenVMS)

NAME
       semop - perform semaphore operations

       SYS$SETEF - Set event flag

EXPLAINATION
       The  Digital UNIX semop system call is similar to the OpenVMS SYS$SETEF
       system service in that they can both set the value of  a	 process  syn‐
       chronization  variable.	 The  semop  function  can  be called with the
       sem_op field of the sembuf structure set to either decrement or	incre‐
       ment  the  semaphore.   If the operation is decrement and the resulting
       value would bring the semaphore to a  value  of	less  than  zero,  the
       process	waits until the semaphore value is will be at least zero after
       the pending semaphore operation is completed.  It is possible  to  make
       this  operation	non-blocking  by  specifiying the IPC_NOWAIT value for
       sem_flg, but it is suggested  that  the	semctl	function  be  used  to
       explicitly set semaphore values.

RELATED INFORMATION
       Digital UNIX Functions:

	   semop(2), semget(2), semctl(2) delim off

							   SYS$SETEF (OpenVMS)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net