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) On Oct 28, 2005, at 5:15 PM, Steve Checkoway wrote: It's that behavior that I wish to have, not data mutual exclusion. You really need all threads suspended except the current one? - 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... Matt Watson wrote: Are you writing a garbage collector or something similar? No, I don't need the other threads suspended, I just want the current one to not be preempted during particular sections of code. I suppose that I could raise the thread's priority, but that's not terribly well documented and doesn't guarantee that it won't be preempted (I think). What I'm being told by the programmer who's actually using this is: The time-critical stuff only starts when the function returns--it doesn't mean "interrupt everything else and make me high priority", but just "make me high priority and don't let anything interrupt me". This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve Checkoway