Hi, Just wanted to check with you guys if I understood this right.
Assumed: a real-time thread When a thread gets blocked, for example waiting for a condvar, this happens: 1. cv_block() is called, this places the thread on a sleepQ. 2. When the codvar is true the thread get off the sleepQ by a call to: cv_signal(), cv_broadcast(), or cv_unsleep(). 3. My question, there is also the function rt_wakeup() when is this function involved? Is it allways called when a thread "wakesup" no mater the reason? If I want to call funcX() when a thread wakes up(for example from a condvar block) is it enough to place it in rt_wakeup() or do I need to place it in cv_signal(), cv_broadcast() and or cv_unsleep() also? thanks /Micke This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
