Martijn Dekker wrote:
[...]
> Does anyone care about POSIX shell scripts on z/OS? (Serious question,
> not rhetorical.) Do they even run, ...
Well, try
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxa400/ish.htm
Hi,
> but return ETIMEDOUT and leave the cancellation state pending.
so that you can call pthread_testcancel() upon ETIMEDOUT return (if cancel
is more important too you than a timeout).
I don't see what is wrong here.
regards,
alexander.
From: Dimitri Staessens