Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pthread_cancel problem on MAC OSX



Girish -

Yes, you're right: pthread_cancel() does nothing. The official word from Apple is that it will never work. You need to use another method to get your child threads to finish. Polling a global after a quanta of work in the child thread is one method.

Tim Standing
SoftRAID, LLC

On Jan 5, 2004, at 10:00 PM, email@hidden wrote:

Hi Darwin Devloper,

I am doing some assignments related to thread in user
space.After doing lots of R & D, I came to know that
"pthread_cancel()" is not working properly.The same
program is working fine on Linux.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.