[fpc-devel] Patch for RTLEvent calls which fixes a race condition

Lloyd Park lloyd.b.park at gmail.com
Fri Dec 15 19:24:09 CET 2006


I had problems with a threaded app under Linux which hung because one
thread would sometimes call RTLSetEvent before the other called
RTLEventStartWait.  The attached patch for the 2.1.1 branch revision
5606 fixes the problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cthreads_rtlevent_patch.diff
Type: text/x-patch
Size: 2004 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20061215/4c503e38/attachment.bin>


More information about the fpc-devel mailing list