Am Freitag, den 19.06.2009, 14:21 +0200 schrieb Dimitri Holz:
> Does anybody know whether in Gtkmm something like a CRITICAL_SECTION
> (windows.h) exist?

The POSIX equivalent to a critical section is a mutex.  glibmm wraps
gthread, which in turn offers a POSIX-like threading API on both Unix
and Windows systems.

In short, you can use Glib::Mutex from glibmm.

As a general note, I cannot emphasize strongly enough that reading a
good book on threaded programming and POSIX threads in particular is
absolutely essential when it comes to coding with threads.

--Daniel


_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to