diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-06-19 15:33:38 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-06-19 15:33:38 +0200 |
| commit | eadea6a992d4e105b3165a22d091c66be374ae99 (patch) | |
| tree | 6521e659aa52c5f477bfbf81d0f05675fbc641ef /test/threads.cxx | |
| parent | 3d13dfefa9d53ef76d77fe57a4d6d51eddc33739 (diff) | |
Update Fl::await() and friends API and documentation
This creates the base for #1263, but does not fix it yet.
Diffstat (limited to 'test/threads.cxx')
| -rw-r--r-- | test/threads.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/threads.cxx b/test/threads.cxx index f7349a668..f234ac7b2 100644 --- a/test/threads.cxx +++ b/test/threads.cxx @@ -87,10 +87,8 @@ extern "C" void* prime_func(void* p) Fl::unlock(); // Send a message to the main thread, at which point it will - // process any pending redraws for our browser widget. The - // message we pass here isn't used for anything, so we could also - // just pass NULL. - Fl::awake(p); + // process any pending redraws for our browser widget. + Fl::awake(); if (n>10000 && !proud) { proud = 1; Fl::awake(magic_number_cb, value); |
