From dfaf790e7df15e9f5dbd869579b0a23d6f952d9f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 1 May 2022 23:24:36 +0200 Subject: [PATCH] Add more debug messages to event-loop test tool --- session_utils/event_loop_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/session_utils/event_loop_test.cc b/session_utils/event_loop_test.cc index 774a35a394..e08cf71721 100644 --- a/session_utils/event_loop_test.cc +++ b/session_utils/event_loop_test.cc @@ -104,7 +104,7 @@ private: bool static_xthread_handler (Glib::IOCondition ioc) { if (ioc & ~Glib::IO_IN) { - cout << "TestUI::static_xthread_handler ~IO_IN\n"; + cout << "TestUI::static_xthread_handler ~IO_IN: " << ioc << "\n"; return false; } if (ioc & Glib::IO_IN) { @@ -188,7 +188,8 @@ main (int argc, char* argv[]) static_signal (); /* EMIT SIGNAL */ Glib::usleep (2 * G_USEC_PER_SEC); xthread.wakeup (); - //xthread.deliver ('x'); + Glib::usleep (2 * G_USEC_PER_SEC); + xthread.wakeup (); Glib::usleep (3 * G_USEC_PER_SEC); delete test_ui;