[VSDK] Semaphore freeze after a crash

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jan 6 09:46:59 CST 2004


on 1/6/04 5:54 AM, Eric Forget at forgete at cafederic.com wrote:

>> 4) you can see that in file FBL_SyncObjectsMac.cpp I do not use pthreads
>>   directly. 
>>  
>>   I call CARBON thread API as ::YieldToAnyThread();
> 
> That's true. However, in FBL_SyncObjectsMac.h you make use of it.
> 
>> 5) in the crash log we see call to pthread_mutex_lock
>>   
>>   I assume Apple call it in background.
>> 
>> This is why, Totte, I cannot add that parameter
>> to mutex to make it REENTRANT.
>> This is NOT MY mutex.
> 
> This is your mutex. Check 4)

Do you mean that I need simply move it from inline of .h
Into .cpp ?

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list