diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-11-13 17:03:53 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-11-13 17:03:53 +0200 |
commit | 60bac26347164e8c89d783fc2f4b0d7b40af9efc (patch) | |
tree | 44d782caad2e4751caf1ac3edce7a784e20da88e /src/gui/fpg_menu.pas | |
parent | 85682e5586a60487d8aa65564dc0a77c24f080d4 (diff) | |
download | fpGUI-60bac26347164e8c89d783fc2f4b0d7b40af9efc.tar.xz |
Implements WakeMainThread for Windows.
Multi-threaded apps under Windows requires the main thread to be woken up
periodically. We now simply hook into the Classes.WakeMainThread function
which is automatically called by TThread.Synchronize.
I did the same testing under X11, but it doesn't seem needed there. If we
do find a case for this under X11, it is easy to implement.
Diffstat (limited to 'src/gui/fpg_menu.pas')
0 files changed, 0 insertions, 0 deletions