summaryrefslogtreecommitdiff
path: root/documentation/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-09 15:07:46 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-09 15:07:59 +0100
commita6dd0adac7078ea93955242ab4bad49c812c20a8 (patch)
tree2e6c3132d9ea7993aa62d26b91385d9886de6de3 /documentation/src
parent13ce93330a5e5e516e179b5580286e6de43afa5b (diff)
Doc only: fix for "Fl::awake() and Fl::add_timeout()" (#524)
Diffstat (limited to 'documentation/src')
-rw-r--r--documentation/src/advanced.dox4
1 files changed, 3 insertions, 1 deletions
diff --git a/documentation/src/advanced.dox b/documentation/src/advanced.dox
index 7e8b3ca4d..7489a4698 100644
--- a/documentation/src/advanced.dox
+++ b/documentation/src/advanced.dox
@@ -398,7 +398,9 @@ threads on all operating systems:
of Fl::awake(<thing>) mechanism and use that.
(Intermixing calls to Fl::awake() should be safe with either however.)
-\li Don't start or cancel timers from a worker thread
+\li Starting with FLTK 1.4, it's possible to start (or cancel) a timer from a
+ worker thread under the condition that the call to Fl::add_timeout
+ (or Fl::remove_timeout) is wrapped in Fl::lock() and Fl::unlock().
\li Don't change window decorations or titles from a worker thread