pthread_suspend_all_np3
Suspend all active threads
Usage
#include <pthread_np.h>
void
pthread_suspend_all_np(void);
Library
POSIX Threads Library (libpthread, -lpthread)
Overview
The pthread_suspend_all_np() function causes all active threads to be suspended. The only exception is the current thread, the thread that called the pthread_suspend_all_np() function.
It is not safe for the caller of the pthread_suspend_all_np() function to use any non-async signal safe functions, besides pthread_resume_all_np(3), until threads are resumed, unless measures are taken to ensure that all threads are suspended at safe points.
Releases
59 releases since FreeBSD 4.8-RELEASE; the text changed 35 times.