Re: threading choices
- From: Debarshi Ray <debarshi ray gmail com>
- To: Paul Pogonyshev <pogonyshev gmx net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: threading choices
- Date: Tue, 2 Mar 2010 21:59:43 +0200
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 for inter-thread
communication.
Cheers,
Debarshi
--
One reason that life is complex is that it has a real part and an
imaginary part.
-- Andrew Koenig
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]