Glib::Util::Initializer Class Reference

Initialization worker, necessary if you need thread-safety. More...

List of all members.

Static Public Member Functions

static void do_init ()
 Optional initialization function for gtkmm-utils.


Detailed Description

Initialization worker, necessary if you need thread-safety.

Member Function Documentation

static void Glib::Util::Initializer::do_init (  )  [static]

Optional initialization function for gtkmm-utils.

Sets the entire default locale and initializes Glib threading. It is safe to call this function multiple times. You can of course initialize Glib threading yourself; in any case, this should most probably be the first thing in your main().

Note:
If you're using the gtkmm-utils logging framework, and from multiple threads, make sure you call this function before using any logging facilities, so that the internal mutex can be initialized correctly.


The documentation for this class was generated from the following file:

Generated on Wed Aug 26 20:51:15 2009 for gtkmm-utils by  doxygen 1.5.8