On 2020-10-01 8:16 PM, Paul Gilmartin wrote:
On Wed, 30 Sep 2020 17:19:32 -0400, Phil Smith III wrote:

The usleep() function in z/OS is documented as taking a single operand that 
must be less than 1M; on other platforms, it must be *at least* 1M. It also 
generates no error, and just returns instantly if you give it a value of 1M or 
more.

This seems.poor. Anyone got any insight/guesses? Yes, I realize it's deprecated.

What is IBM's rationale for supporting the deprecated usleep but not
POSIX nanosleep on z/OS?
     
https://pubs.opengroup.org/onlinepubs/9699919799/functions/nanosleep.html#tag_16_350

And providing the idiosyncratic cond_timed_wait.

Probably the same rationale for supporting System V message queues/semaphores etc and not POSIX.



-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to