From: Matthias Clasen Date: Mon, 5 Dec 2005 13:50:39 +0000 (+0000) Subject: Add some docs. X-Git-Tag: GLIB_2_9_1~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=559e1057a0e4b1c42e66815b68cf2c17b598d65d;p=platform%2Fupstream%2Fglib.git Add some docs. 2005-12-05 Matthias Clasen * glib/gasyncqueue.c: Add some docs. --- diff --git a/ChangeLog b/ChangeLog index d5e29ff..9a22a33 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-12-05 Matthias Clasen + * glib/gasyncqueue.c: Add some docs. + + * tests/libmoduletestplugin_a.c: Fix compiler warnings. + * glib/gatomic.c: In the ia64 implementation, use __sync builtin without _si or _di suffix. (#321229, Stanislav Brabec, patch by Andreas Schwab) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d5e29ff..9a22a33 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,9 @@ 2005-12-05 Matthias Clasen + * glib/gasyncqueue.c: Add some docs. + + * tests/libmoduletestplugin_a.c: Fix compiler warnings. + * glib/gatomic.c: In the ia64 implementation, use __sync builtin without _si or _di suffix. (#321229, Stanislav Brabec, patch by Andreas Schwab) diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index d5e29ff..9a22a33 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,9 @@ 2005-12-05 Matthias Clasen + * glib/gasyncqueue.c: Add some docs. + + * tests/libmoduletestplugin_a.c: Fix compiler warnings. + * glib/gatomic.c: In the ia64 implementation, use __sync builtin without _si or _di suffix. (#321229, Stanislav Brabec, patch by Andreas Schwab) diff --git a/glib/gasyncqueue.c b/glib/gasyncqueue.c index 28babce..276d3cb 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)