> If your programming language
> uses exceptions, remember that leave() call should be inside
> try..finally cleanup, else this will cause deadlocks if an exception
> is thrown in-between.
If you take C++ as an instance of a programming language with
exceptions, then Glibmm offers Glib::Dispatcher
Olivier Sessink wrote:
> it seems that are two (or more) choices how to work with threads in
> gtk. You can #1 use a global lock and call gtk from any thread, or you
> can #2 limit your gtk calls to the main loop and not use the global
> lock. As far as I understood, method #2 is portable to win32,
Hi all,
it seems that are two (or more) choices how to work with threads in
gtk. You can #1 use a global lock and call gtk from any thread, or you
can #2 limit your gtk calls to the main loop and not use the global
lock. As far as I understood, method #2 is portable to win32, and
method #1 is not?