Hello FPC-Pascal,

Friday, October 8, 2010, 8:03:01 PM, you wrote:

SB> This isn't a race condition, but a dead lock (but both are bad things ^^).

You are right :) I'm used to use the "Deadlock" term when explicit
locks are being used, but yes, that's a DeadLock.

SB> Also on Windows this works, because on Windows WaitFor handles 
SB> Synchronize events as well.

Right... this explains a bit of code I was looking at two days ago :)
"Why is it using Multiobjects waitfor ?" and here is the answer :)

-- 
Best regards,
 José

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to