[DUG] Critical Section with Timeout

2010-11-24 Thread Ross Levis
I think I've come up with a solution to provide a critical section with a timeout, and want some feedback, particularly if you can see any problems with it. Firstly 2 procedures which are used to enter and leave a section. var CS: TRTLCriticalSection; LockThreadID: Cardinal;

Re: [DUG] Critical Section with Timeout

2010-11-24 Thread Jolyon Smith
Borland Developers Group - Delphi List' Subject: [DUG] Critical Section with Timeout I think I've come up with a solution to provide a critical section with a timeout, and want some feedback, particularly if you can see any problems with it. Firstly 2 procedures which are used to enter