site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mozilla Thunderbird 1.0.2-1.4.1.centos4 (X11/20050323) Brian Bergstrand wrote: pthread_mutex_lock(); // critical code here... pthread_mutex_unlock(); That's not quite what I was looking for. From the Thread Manager page: http://developer.apple.com/documentation/Carbon/Reference/Thread_Manager/thr... It's that behavior that I wish to have, not data mutual exclusion. - 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... The ThreadBeginCritical function disables scheduling by marking the beginning of a section of critical code. That is, no other threads in the current application can run—even if the current thread yields control—until the current thread exits the critical section (by calling the ThreadEndCritical function). This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve Checkoway