summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/threads.cxx6
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);