From 808c3c4019fadb63f92188216f84c409b95ff724 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Tue, 3 Jul 2007 10:47:17 +0000 Subject: [PATCH] num_max_thread. -> get_max_threads. --- lib/silcutil/silcthread.c | 2 +- lib/silcutil/silcthread.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/silcutil/silcthread.c b/lib/silcutil/silcthread.c index b6677d89..8258c995 100644 --- a/lib/silcutil/silcthread.c +++ b/lib/silcutil/silcthread.c @@ -377,7 +377,7 @@ void silc_thread_pool_set_max_threads(SilcThreadPool tp, /* Get maximum threads in the pool */ -SilcUInt32 silc_thread_pool_num_max_threads(SilcThreadPool tp) +SilcUInt32 silc_thread_pool_get_max_threads(SilcThreadPool tp) { SilcUInt32 max_threads; diff --git a/lib/silcutil/silcthread.h b/lib/silcutil/silcthread.h index 2a788804..e12ddaa3 100644 --- a/lib/silcutil/silcthread.h +++ b/lib/silcutil/silcthread.h @@ -306,18 +306,18 @@ SilcBool silc_thread_pool_run(SilcThreadPool tp, void silc_thread_pool_set_max_threads(SilcThreadPool tp, SilcUInt32 max_threads); -/****f* silcutil/SilcThreadAPI/silc_thread_pool_num_max_threads +/****f* silcutil/SilcThreadAPI/silc_thread_pool_get_max_threads * * SYNOPSIS * - * SilcUInt32 silc_thread_pool_num_max_threads(SilcThreadPool tp); + * SilcUInt32 silc_thread_pool_get_max_threads(SilcThreadPool tp); * * DESCRIPTION * * Returns the number of maximum threads to which the pool can grow. * ***/ -SilcUInt32 silc_thread_pool_num_max_threads(SilcThreadPool tp); +SilcUInt32 silc_thread_pool_get_max_threads(SilcThreadPool tp); /****f* silcutil/SilcThreadAPI/silc_thread_pool_num_free_threads * -- 2.24.0