[VSDK] Semaphore freeze after a crash

Eric Forget forgete at cafederic.com
Wed Jan 7 03:43:34 CST 2004


>> 1) Replace the constructor of FBL_MutexMac, in "FBL_SyncObjectsMac.h" with:
>> 
>>   pthread_mutexattr_init(&attr_);
>>   pthread_mutexattr_settype(&attr_, PTHREAD_MUTEX_RECURSIVE);
>>   pthread_mutex_init(&m_, &attr_);
> 
> Oh God!!!!!!
> 
> I was blind !! :-((
> 
> I did not see that I already have MACHO version of Mutex that use pthreads.
> Stupid me!
> 
> When I did it ???  :-)
> 
> I will try now your changes.
> 
> And send to you this new framework.

Your new build seems to work for me...

Thanks!

Éric

___________________________________________________________________

 Eric Forget                       Cafederic
 ForgetE at cafederic.com             <http://www.cafederic.com/>

 Fingerprint <86D5 38F5 E1FD 5D9C 71C3  BAA3 797E 70A4 6210 C684>




More information about the Valentina mailing list