c/thread/thrd sleep

Blocks the execution of the current thread for at least until the time_utc based duration pointed to by has elapsed.

The sleep may resume earlier if a signal that is not ignored is received. In such case, if is not null, the remaining time duration is stored into the object pointed to by.

Return value
on successful sleep, if a signal occurred, other negative value if an error occurred.