Re: POSIX thread in cocoa project
Re: POSIX thread in cocoa project
- Subject: Re: POSIX thread in cocoa project
- From: "A.M." <email@hidden>
- Date: Sat, 23 Feb 2008 12:22:09 -0500
On Feb 23, 2008, at 11:17 AM, Luca Ciciriello wrote:
Hi All.
I've added to a cocoa project a .cpp file. In this file I've
implemented a multithreading system using POSIX. Now, from my cocoa
app's window I can use the functionality of the new added cpp file
(using a .mm file as interface).
The problem is that I'm able to create a detached thread with the
POSIX pthread_create, but I can't cancel the thread using the
function pthread_cancel. The return code of this function is 0 (the
function is executed without errors), but the specified thread
doesn't end.
I'm using Xcode 2.5 on Mac OS 10.4.11
http://lists.apple.com/archives/darwin-kernel/2004/Jan/msg00032.html
Note that additional cancellation points were added in 10.5.
-M
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden