[fpc-pascal] TThread.Suspend under Linux

Graeme Geldenhuys graemeg.lists at gmail.com
Sat Jun 2 15:33:19 CEST 2007


On 6/2/07, Michael Van Canneyt <michael at freepascal.org> wrote:
> > Just to clarify: don't use .Suspend on another thread. Suspending yourself and
> > letting someone else wake you up again is no problem.
>
> Except that it doesn't work on Linux.

Nope, that works fine here!  My worker thread counts down from 10 to
0.  I called suspend when the counter reached 5.

Resumed the worker thread from the GUI thread and it continued counting to 0.

Regard,
  - Graeme -



More information about the fpc-pascal mailing list