thr_kill man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]



thr_kill(3scl)							thr_kill(3scl)

NAME
       thr_kill - Creates a thread.

LIBRARY
       SCL Threads Library (libthread.so)

SYNOPSIS
       #include <thread.h>

       int thr_kill(
		     thread_t target_thread,
		     int      sig );

PARAMETERS
       Identifier  of thread to which the signal is sent.  signal number to be
       sent to thread.

DESCRIPTION
       This routine sends the specified signal sig  to	the  specified	thread
       target_thread.

       Specifying  a  sig argument of zero (0) causes this routine to validate
       the thread argument target_thread but not to deliver any signal.

SCL IMPLEMENTATION NOTES
       thr_kill(3scl) is implemented by calling pthread_kill(3).

RETURN VALUES
       If an error condition occurs, this routine  returns  an	integer	 value
       indicating the type of error.

       Additional  error  return  information  may be written to the SCL error
       log.  Refer to scl_error_log(4scl) for details.

       Possible return values are as  follows:	Successful  completion.	  tar‐
       get_thread  is  not  a current thread ID.  The value of sig is not zero
       and is an invalid or unsupported signal number. Or:

       An internal implementation error occurred. Refer to  the	 SCL  errorlog
       for additional information.

ERRORS
       None.

RELATED INFORMATION
       Functions: pthread_kill(3), scl_intro(3scl), scl_thread_intro(3scl)

       Files: scl_error_log(4scl)

       Manuals: Solaris Compatibility Libraries User's Guide

								thr_kill(3scl)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net