Multithreaded Programming Guide

sigtimedwait(2)

sigtimedwait(2) is similar to sigwait(2) except that it fails and returns an error when a signal is not received in the indicated amount of time.