On Sat, 28 Dec 2013, Mark Morgan Lloyd wrote:

Can TThread.Synchronize() be used in a non-graphical program (i.e. invoked from a unix shell and interacting with the user by typed commands) or does it rely on some LCL magic in the main thread which can't easily be replicated?

Synchronize relies on checksynchronize being called regularly from the main 
thread.

If you use readln() or so, then it's not useful.

Michael.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to