site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com That's a very good point, I hadn't thought of that. - Steve _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Sep 18, 2004, at 4:50 PM, Paul Forgey wrote: If you happen to signal the conditional between the CheckMyCondition and pthread_cond_wait, the consumer will go into the wait with requests in the queue. Signal while holding the mutex and two things will happen: the consumer will notice work in the queue before waiting, or it will be waiting. This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve Checkoway