X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgthreadpool.c;h=de9cedf00fa3f63f1c92b66352dc5552a75f36b1;hb=30ed5f53e205e6bfc35126a9d3c62dac8a9c5dad;hp=d8f1e709677d3f7f0996633d4f02a95335fcd513;hpb=078dbda148a81af1b3a76fbda72f089b963087f1;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gthreadpool.c b/glib/gthreadpool.c index d8f1e70..de9cedf 100644 --- a/glib/gthreadpool.c +++ b/glib/gthreadpool.c @@ -453,7 +453,7 @@ g_thread_pool_start_thread (GRealThreadPool *pool, * errors. An error can only occur when @exclusive is set to %TRUE * and not all @max_threads threads could be created. * - * Return value: the new #GThreadPool + * Returns: the new #GThreadPool */ GThreadPool * g_thread_pool_new (GFunc func, @@ -531,7 +531,7 @@ g_thread_pool_new (GFunc func, * * Before version 2.32, this function did not return a success status. * - * Return value: %TRUE on success, %FALSE if an error occurred + * Returns: %TRUE on success, %FALSE if an error occurred */ gboolean g_thread_pool_push (GThreadPool *pool, @@ -596,7 +596,7 @@ g_thread_pool_push (GThreadPool *pool, * * Before version 2.32, this function did not return a success status. * - * Return value: %TRUE on success, %FALSE if an error occurred + * Returns: %TRUE on success, %FALSE if an error occurred */ gboolean g_thread_pool_set_max_threads (GThreadPool *pool, @@ -648,7 +648,7 @@ g_thread_pool_set_max_threads (GThreadPool *pool, * * Returns the maximal number of threads for @pool. * - * Return value: the maximal number of threads + * Returns: the maximal number of threads */ gint g_thread_pool_get_max_threads (GThreadPool *pool) @@ -674,7 +674,7 @@ g_thread_pool_get_max_threads (GThreadPool *pool) * * Returns the number of threads currently running in @pool. * - * Return value: the number of threads currently running + * Returns: the number of threads currently running */ guint g_thread_pool_get_num_threads (GThreadPool *pool) @@ -700,7 +700,7 @@ g_thread_pool_get_num_threads (GThreadPool *pool) * * Returns the number of tasks still unprocessed in @pool. * - * Return value: the number of unprocessed tasks + * Returns: the number of unprocessed tasks */ guint g_thread_pool_unprocessed (GThreadPool *pool) @@ -870,7 +870,7 @@ g_thread_pool_set_max_unused_threads (gint max_threads) * * Returns the maximal allowed number of unused threads. * - * Return value: the maximal number of unused threads + * Returns: the maximal number of unused threads */ gint g_thread_pool_get_max_unused_threads (void) @@ -883,7 +883,7 @@ g_thread_pool_get_max_unused_threads (void) * * Returns the number of currently unused threads. * - * Return value: the number of currently unused threads + * Returns: the number of currently unused threads */ guint g_thread_pool_get_num_unused_threads (void) @@ -1008,7 +1008,7 @@ g_thread_pool_set_max_idle_time (guint interval) * If this function returns 0, threads waiting in the thread * pool for new work are not stopped. * - * Return value: the maximum @interval (milliseconds) to wait + * Returns: the maximum @interval (milliseconds) to wait * for new tasks in the thread pool before stopping the * thread *