Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PTHREAD_SUSPEND_ALL_N... BSD Library Functions Manual PTHREAD_SUSPEND_ALL_N...

NAME
     pthread_suspend_all_np -- suspend all active threads

LIBRARY
     POSIX Threads Library (libpthread,	-lpthread)

SYNOPSIS
     #include <pthread_np.h>

     void
     pthread_suspend_all_np(void);

DESCRIPTION
     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.

SEE ALSO
     pthread_resume_all_np(3), pthread_resume_np(3), pthread_suspend_np(3)

AUTHORS
     This manual page was written by Alexey Zelkin <phantom@FreeBSD.org>.

BSD				  May 5, 2016				   BSD

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pthread_suspend_all_np&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help