[VSDK] Semaphore freeze after a crash

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jan 6 09:51:22 CST 2004


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

>> IF this trick works you can
>> A) DEBUG when and how my functions are called.
>> B) may be you can simply comment out call ::YieldToAnyThread();
>>   for YOUR project and may be this will make a trick.
> 
> I don't know if xCode support that but it will be useless in our case since
> the call is inlined. We will need all the code source that use FBL_MutexMac.

But why?
 
>> 7) I really do not want spend time on this now, if above workaround will
>> work. In 2.0 we will have pthreads for OS X Valentina engine.
> 
> For me it is now a show stopper. I have 2 different cases where my
> application freeze. Maybe it is becoming more apparent with 10.3.2, I don't
> know.
> 
> BTW, I found 2 problems with your code by just compiling it:
> 
> 1) In FBL_MutexMac::Lock():
> FBL_SyncObjectsMac.h:54: control reaches end of non-void function
> FBL_SyncObjectsMac.h:54: no return statement in function returning non-void
> 
> 2) In FBL_SemaphoreMac::Lock():
> FBL_SyncObjectsMac.cpp:182: comparison between signed and unsigned integer
> expressions
> 
> Maybe you should enable more warnings when you compiles...
> 
> I hope you will be able to solve that...

Well, Eric, can you try to make for me reproduce project.

It looks like you need trash .ind file,
So on open Valentina start build index, and you say it freeze?

Or it needs some more special case?

-- 
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