diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-12-05 13:50:39 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-12-05 13:50:39 +0000 |
commit | 559e1057a0e4b1c42e66815b68cf2c17b598d65d (patch) | |
tree | 824832e58d47cfe4afd3a66c634f01758530fca6 /glib/gasyncqueue.c | |
parent | 5c32d5236f576344ebd43275589084a0fd1e4970 (diff) | |
download | glib-559e1057a0e4b1c42e66815b68cf2c17b598d65d.tar.gz |
Add some docs.
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* glib/gasyncqueue.c: Add some docs.
Diffstat (limited to 'glib/gasyncqueue.c')
-rw-r--r-- | glib/gasyncqueue.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/glib/gasyncqueue.c b/glib/gasyncqueue.c index 28babceea..276d3cb78 100644 --- a/glib/gasyncqueue.c +++ b/glib/gasyncqueue.c @@ -83,6 +83,10 @@ g_async_queue_ref (GAsyncQueue *queue) * @queue: a #GAsyncQueue. * * Increases the reference count of the asynchronous @queue by 1. + * + * @Deprecated: Since 2.8, reference counting is done atomically + * so g_async_queue_ref() can be used regardless of the @queue's + * lock. **/ void g_async_queue_ref_unlocked (GAsyncQueue *queue) @@ -101,6 +105,10 @@ g_async_queue_ref_unlocked (GAsyncQueue *queue) * releases the lock. This function must be called while holding the * @queue's lock. If the reference count went to 0, the @queue will be * destroyed and the memory allocated will be freed. + * + * @Deprecated: Since 2.8, reference counting is done atomically + * so g_async_queue_unref() can be used regardless of the @queue's + * lock. **/ void g_async_queue_unref_and_unlock (GAsyncQueue *queue) |