gtkc.gthreadtypes.GStaticMutex Struct Reference

Detailed Description

A GStaticMutex works like a GMutex, but it has one significant advantage.

It doesn't need to be created at run-time like a GMutex, but can be defined at compile-time. Here is a shorter, easier and safer version of our give_me_next_number() example: Example6.Using GStaticMutex to simplify thread-safe programming Logo Logo Logo