Re: [fpc-devel] Threading / Synchronization

2005-01-18 Thread Johannes Berg
Pedro Lopez-Cabanillas wrote: TThread.Synchronize support has been announced as a new feature on FPC 1.9.6 See: ftp://ftp.freepascal.org/pub/fpc/beta/whatsnew.txt I guess I'm far behind then. Sorry for the noise. johannes ___ fpc-devel maillist - f

Re: [fpc-devel] Threading / Synchronization

2005-01-17 Thread Pedro Lopez-Cabanillas
On Monday 17 January 2005 10:37, Johannes Berg wrote: > On So, 2005-01-16 at 23:36 +0100, Pedro Lopez-Cabanillas wrote: > > 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 C

Re: [fpc-devel] Threading / Synchronization

2005-01-17 Thread Pedro Lopez-Cabanillas
On Monday 17 January 2005 14:42, Vincent Snijders wrote: > Micha Nelissen took a look at it and said: > > Does it work, if you remove the call to sleep, just before > > CheckSynchronize? Or change it to sleep(1) and observe it prints 1 2 3 4 > > every second. No. It doesn't work even if you remove

Re: [fpc-devel] Threading / Synchronization

2005-01-17 Thread Vincent Snijders
Pedro Lopez-Cabanillas wrote: 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: CheckSynchron

Re: [fpc-devel] Threading / Synchronization

2005-01-17 Thread Johannes Berg
On So, 2005-01-16 at 23:36 +0100, Pedro Lopez-Cabanillas wrote: 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?).

[fpc-devel] Threading / Synchronization

2005-01-16 Thread Pedro Lopez-Cabanillas
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