Safe VERSIONS sigwait () is implemented using sigtimedwait (2); consult its NOTES . The glibc implementation
returned by the receiving process's sigtimedwait (2) call. Inside the glibc sigqueue () wrapper, this
NAME sem_wait