Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Thread cancellation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread cancellation



On Tuesday, March 25, 2003, at 06:46 AM, Stephane Letz wrote:
It seems that thread cancellation (pthead_cancel, pthreadsetcanceltype...)
is not available in Darwin (Darwin 6.4, MacOSX 10.2.4)

We have done most of the work for pthread_cancel(). The problem is that, by default under the POSIX cancel model, all frameworks have to actively protect themselves against unexpected cancellations (rather than explicitly allowing them). That's easy enough to add to Libc/Libsystem in Darwin, but there are tons of frameworks in Mac OS X that would need to be modified to protect themselves appropriately.

Is there any info of when it will be available?

When we figure out how to allow cancellation in applications that only use the basic frameworks, but block it when using frameworks that aren't aware that cancellation even exists, we will add it in.

--jim
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Thread cancellation (From: Stephane Letz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.