multi-threaded apps.

I am busy checking that Balsa correctly grabs the GDK lock when running with
threads enabled.

The FAQ says that Glib callbacks (I/O, idle and timeouts) are called without
the lock, but that GTK+ callbacks will be called with the lock held.

I cannot find the point where the lock is grabbed when emitting the GTK+

So my question is: If I emit a signal in a thread, do I need to grab the lock
before emmiting the signal?


Ian Campbell
Churchill College, Cambridge.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]