Am 21.09.2015 13:51 schrieb "Graeme Geldenhuys" <
[email protected]>:
> Last year I implemented a Windows Service / Linux Daemon application
> using FCL's daemonapp.pp unit. It was a 100% non-GUI application, and I
> used threads and all without issue. Just to be clear, using threads in
> this case didn't require Synchronize() either - because Synchronize() is
> purely there for GUI apps, which this wasn't.

Just for clarification: Synchronize() is not only for GUI. It's purpose is
to execute a piece of code in the main thread triggered by another thread.
If that piece of code uses GUI or not is secondary. (Of course it's often
used in that context, but it's not restricted to that!)

Regards,
Sven
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to