Skip to content
Jean-Michel Gonet edited this page Jan 19, 2019 · 14 revisions

Step 1

Mark these words with fire and iron: You do not call GUI functions from another thread. You only do that from the main thread(also called gui thread). You could do it from another thread but you need to acquire some specific GDK locks first, if I remember correctly. https://ubuntuforums.org/showthread.php?t=2103045

Further reading:

Event handlers return value

Include order

Having debug symbols by default

You can't just launch a thread and forget about it

The thread variable should not go out of scope while the thread is still running:

A class to launch a thread