mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
gqueue: Document to use GAsyncQueue for thread-safe queuing
Signed-off-by: Philip Withnall <withnall@endlessm.com> Reviewed-by: nobody
This commit is contained in:
parent
ea8bd63d34
commit
1f20ddbb55
@ -35,6 +35,9 @@
|
||||
* using one of the [Type Conversion Macros][glib-Type-Conversion-Macros],
|
||||
* or simply pointers to any type of data.
|
||||
*
|
||||
* As with all other GLib data structures, #GQueue is not thread-safe.
|
||||
* For a thread-safe queue, use #GAsyncQueue.
|
||||
*
|
||||
* To create a new GQueue, use g_queue_new().
|
||||
*
|
||||
* To initialize a statically-allocated GQueue, use #G_QUEUE_INIT or
|
||||
|
Loading…
Reference in New Issue
Block a user