*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pthread_suspend_np (3)              
Title
Content
Arch
Section
 

PTHREAD_SUSPEND_NP(3)

Contents


NAME    [Toc]    [Back]

     pthread_suspend_np -- suspend a thread

LIBRARY    [Toc]    [Back]

     Reentrant C Library (libc_r, -lc_r)

SYNOPSIS    [Toc]    [Back]

     #include <pthread_np.h>

     int
     pthread_suspend_np(pthread_t tid);

DESCRIPTION    [Toc]    [Back]

     The pthread_suspend_np() function, called on an active thread, causes it
     to suspend.

RETURN VALUES    [Toc]    [Back]

     If successful, pthread_suspend_np() function returns 0.  Otherwise, an
     error number is returned to indicate the error.

ERRORS    [Toc]    [Back]

     The pthread_suspend_np() function will fail if:

     [EDEADLK]		An attempt was made to suspend the current thread.

     [EINVAL]		The value specified by the tid argument is invalid.

     [ESRC]		No thread could be found corresponding to the thread
			ID specified by the tid argument.

SEE ALSO    [Toc]    [Back]

      
      
     pthread_resume_all_np(3), pthread_resume_np(3), pthread_suspend_all_np(3)

AUTHORS    [Toc]    [Back]

     This manual page was written by Alexey Zelkin <[email protected]>.


FreeBSD 5.2.1		       February 13, 2003		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
pthread_suspend_np OpenBSD suspend and resume thread(s)
pthread_suspend_all_np OpenBSD suspend and resume thread(s)
pthread_resume_np OpenBSD suspend and resume thread(s)
pthread_resume_all_np OpenBSD suspend and resume thread(s)
sigwait Tru64 Suspend a calling thread until a signal arrives
sigtimedwait Tru64 Suspend a calling thread until a signal arrives
sigwaitinfo Tru64 Suspend a calling thread until a signal arrives
pthread_setspecific Tru64 Sets the thread-specific data value associated with the specified key for the current thread
pthread_cancel Tru64 Allows a thread to request a thread to terminate execution
pthread_join Tru64 Causes the calling thread to wait for the termination of the specified thread
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service