James Carlson wrote:
>
>
> There are at least two problems with that latter concept.  First, as
> previously explained, there's no way to send a signal to a thread.
> You can send it to a _process_, but not to a _thread_.  Threads don't
> have separate PIDs.  (At least not on any POSIX-conforming system.)
>
> Secondly, if you've masked off signals in those other threads, then
> what possible purpose could be served by deliberately sending them
> that signal?  That wouldn't do anything.
>
>   

Hmm... checkout pthread_kill(3c) .... you can deliver a signal to a
specific thread.  But as far as  I know you can -only- do this from
inside the process containing the thread to be signaled.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to