[Lazarus] Cross-compiling for Raspberry Pi2
pascaldragon at googlemail.com
Mon Sep 21 14:56:18 CEST 2015
Am 21.09.2015 13:51 schrieb "Graeme Geldenhuys" <
mailinglists at geldenhuys.co.uk>:
> 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!)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus