04-29-2005
Last edited by jim mcnamara; 04-29-2005 at 12:06 PM..
3 More Discussions You Might Find Interesting
1. Programming
Parent Thread Of Child Thread
Suppose a process creates some threads say threadC and threadD.
Later on each of these threads create new child threads say threadC1, threadC2, threadC3 etc. So a tree of threads will get created.
Is there any way to find out the parent thread of one such... (1 Reply)
Discussion started by: rupeshkp728
1 Replies
2. UNIX for Dummies Questions & Answers
This question might be silly but its confusing me a bit:
What is the difference between handle to the thread HANDLE and thread identifier pthread_t?
---------- Post updated at 01:52 PM ---------- Previous update was at 01:48 PM ----------
Sorry I saw details and HANDLE is in windows and... (0 Replies)
Discussion started by: rupeshkp728
0 Replies
3. Forum Support Area for Unregistered Users & Account Problems
Dear Moderator
I am not able to post any new thread or post reply to mine old thread.
Kindly help as i am stuck on one problem and needed suggestion.
Regards
Jaydeep (1 Reply)
Discussion started by: jaydeep_sadaria
1 Replies
LEARN ABOUT HPUX
pthread_kill
pthread_kill(3T) pthread_kill(3T)
NAME
pthread_kill() - send a signal to a thread
SYNOPSIS
PARAMETERS
thread Thread to which the signal is to be delivered.
sig Signal to be delivered to thread.
DESCRIPTION
The function is used to request that a signal be delivered to thread. The signal is asynchronously directed to thread in the calling
process. The signal is handled in the context of the given thread; if the signal action results in the thread terminating or stopping, this
action is applied to the whole process.
If sig is zero, error checking is performed but a signal is not sent.
RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the function returns the corresponding error number:
[EINVAL] sig is an invalid or unsupported signal number.
[ESRCH] No thread could be found corresponding to thread.
AUTHOR
was derived from the IEEE POSIX P1003.1c standard.
SEE ALSO
kill(2), sigaction(2), pthread_self(3T), raise(2).
STANDARDS CONFORMANCE
Pthread Library pthread_kill(3T)