num_max_thread. -> get_max_threads.
authorPekka Riikonen <priikone@silcnet.org>
Tue, 3 Jul 2007 10:47:17 +0000 (10:47 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 3 Jul 2007 10:47:17 +0000 (10:47 +0000)
lib/silcutil/silcthread.c
lib/silcutil/silcthread.h

index b6677d89c187a12dd3983b23ea569a92d56cb946..8258c9954f852861787f123faa5529c6ad578a1f 100644 (file)
@@ -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;
 
index 2a7888049341147d3bfdb85a7849cf35efcf8665..e12ddaa37eff619b1e70cad2634d2194e846800f 100644 (file)
@@ -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
  *