>So all  threads call the signal callback at the same time? Can I use
>pthread_mutex_lock() in the signal handler to prevent a race
>condition?

No, at most one signal handler is called and only a (random)
thread interested in receiving the signal will get it.

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

Reply via email to