13
0

Add more debug messages to event-loop test tool

This commit is contained in:
Robin Gareus 2022-05-01 23:24:36 +02:00
parent 7780d38ed0
commit dfaf790e7d
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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;