[fpc-devel] Threading / Synchronization
Pedro Lopez-Cabanillas
plcl at telefonica.net
Sun Jan 16 23:36:02 CET 2005
Hi,
The attached program works well under Linux when compiled with Kylix3. It
counts from 1 to 10 and ends. FPC compiles it, but doesn't work (loops
forever). Seems that CheckSynchronize doesn't work (or perhaps
TThread.Synchronize?).
Another issue: CheckSynchronize has in Kylix3 an optional parameter (Timeout:
Integer = 0), not available in FPC.
Regards,
Pedro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsync.pas
Type: text/x-pascal
Size: 1144 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20050116/631aff5e/attachment.pas>
More information about the fpc-devel
mailing list