for GLib 2.3.5


Table of Contents

GLib Overview
GLib Fundamentals
GLib Core Application Support
GLib Utilities
GLib Data Types
GLib Tools
Index

List of Figures

1. States of a Main Context

List of Examples

1. Checking the version of the GLib library
1.
2.
3. A function which will not work in a threaded environment
4. The wrong way to write a thread-safe function
5. A correct thread-safe function
6. Using GStaticMutex to simplify thread-safe programming
7. Using the G_LOCK_* convenience macros
8. An array with access functions
9. Using GCond to block a thread until a condition is satisfied
10. Using GPrivate for per-thread data
11. Using GStaticPrivate for per-thread data
12. Adding a log handler for all warning messages in the default (application) domain
13. Adding a log handler for all critical messages from GTK+
14. Adding a log handler for all messages from GLib
1. Using a GMemChunk
2. Using a GMemChunk with data structures
3. Using a GArray to store gint values
4. Getting a pointer to an element in a GArray
5. Using a GPtrArray
6. Using a GByteArray