Garrett D'Amore writes: > 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.
Yes, I was mixing two things. You can't send a signal to a specific thread within a process. Once there inside the process, it doesn't really make much sense to use pthread_kill to "reflect" that same signal to other threads if they have it blocked, as they can't receive it. So, you either have any of the running threads potentially receiving that signal and then sending it to each other (!) or you use a _different_ signal when you reflect it outwards. Backing way up, I think it's useful to ask what sort of problem is being solved, and whether there aren't better ways to go about solving it. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
