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.

 

All I can think of is that when it was implemented in z/OS it was done 
deliberately to discourage use, but I'd rather it ABENDed than just returning 
instantly and causing a spin, personally.


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

Reply via email to