1) Is there a function corresponding to semtimedop() supported on z/OS?
2) Can anybody give more details on __semop_timed() function on z/OS.
Here is the documentation snippet:
If the __semop_timed() function finds that none of the semaphores specified by semid are received, it waits for the time interval specified in the timespec structure referenced by set. If the timespec structure pointed to by set is zero-valued and if none of the semaphores specified by semid are received, then __semop_timed() returns immediately with EAGAIN. A timespec with the tv_sec field set with /INT_MAX/, as defined in <limits.h>, will cause the __semop_timed() service to wait until a semaphore is received. If set is the NULL pointer, it will be treated the same as when timespec structure was supplied with with the tv_sec field set with /INT_MAX/.
What is meant by "receiving a semaphore"?
3) Do semtimedop() (say on AIX) and __semop_timed() (on z/OS) perform essentially the same function? If not how are they different?
This topic has been locked.
Pinned topic __semop_timed() details on z/OS
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2010-02-23T11:05:54Z at 2010-02-23T11:05:54Z by SystemAdmin