Re: pthread_cancel problem on MAC OSX
Re: pthread_cancel problem on MAC OSX
- Subject: Re: pthread_cancel problem on MAC OSX
- From: Timothy Standing <email@hidden>
- Date: Mon, 12 Jan 2004 10:39:40 -0800
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.