This function is a non-portable Realtime Linux extension. pthread_wait_np suspends execution of the currently running realtime thread until the start of the next period. The thread was previously marked for execution using pthread_make_periodic_np.
The thread gives up control until the next time period.