| Main index | Section 3 | Options |
#include <pthread_np.h>
It is not safe for the caller of the pthread_suspend_np() function to use any non-async signal safe functions, except pthread_resume_np(3), until suspended thread is resumed, unless measures are taken to ensure that the thread is suspended at a safe point.
| [EDEADLK] | |
| An attempt was made to suspend the current thread. | |
| [EINVAL] | |
| The value specified by the tid argument is invalid. | |
| [ESRCH] | |
| No thread could be found corresponding to the thread ID specified by the tid argument. | |
| PTHREAD_SUSPEND_NP (3) | October 12, 2021 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | A typical Unix /bin or /usr/bin directory contains a hundred different kinds of programs, written by dozens of egotistical programmers, each with its own syntax, operating paradigm, rules of use ... strategies for specifying options, and different sets of constraints. | ” |
| — The Unix Haters' handbook | ||