From eadea6a992d4e105b3165a22d091c66be374ae99 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 19 Jun 2025 15:33:38 +0200 Subject: Update Fl::await() and friends API and documentation This creates the base for #1263, but does not fix it yet. --- test/threads.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test') 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); -- cgit v1.2.3