From: Stephane L. <le...@gr...> - 2003-04-29 14:01:54
|
>Am Dienstag, 29.04.03 um 04:53 Uhr schrieb Ben Hines: > >> >> On Monday, April 28, 2003, at 01:09 PM, Max Horn wrote: >> >>> >>> Am Montag, 28.04.03 um 13:37 Uhr schrieb Stephane Letz: >>> >>>> Hi, >>>> >>>> We are porting code that use the "pthread_cancel" and >>>> "pthread_cancel" >>>> functions. These functions are not supported of the current Darwin >>>> version, >>>> and it seems that they will not be supported in the near future. >>> >>> In OS X 10.2.5, pthread_cancel is in both headers and the system lib >>> - and I am pretty sure they are in Darwin, too. And I believe they >>> work correctly, too, although I am not 100% sure. >>> >> >> They do not work at all, actually, and are not supported, though they >> are in the headers and library. Functionality is waiting on making all >> the system frameworks cancellable. (this has been talked about on >> darwin-devel before) I'd not expect it until 10.3 since that's a >> pretty big change. >> >Ah, thanks for the clarification, Ben. Yeah, that doesn't sound trivial >at all. Yes, but this does not answer the original question. Does anybody know if the same thread cancelation behaviour can be implemented (maybe using directly the mach thread API as a temporary workaround?) Thanks Stephane Letz Grame: Centre National de creation musicale 9, Rue du Garet 69001 Lyon Tel: 04-72-07-37-00 Fax: 04-72-07-37-01 Web: www.grame.fr |