introduced new logging subsystem using bus:
passive listeners can register on the bus active listeners wait for signals actively multiplexing allows multiple listeners to receive debug signals a lot more...
This commit is contained in:
@@ -45,13 +45,22 @@ typedef struct thread_pool_t thread_pool_t;
|
||||
* @ingroup threads
|
||||
*/
|
||||
struct thread_pool_t {
|
||||
|
||||
/**
|
||||
* @brief Return currently instanciated thread count.
|
||||
*
|
||||
*
|
||||
* @param thread_pool calling object
|
||||
* @return size of thread pool
|
||||
*/
|
||||
size_t (*get_pool_size) (thread_pool_t *thread_pool);
|
||||
u_int (*get_pool_size) (thread_pool_t *thread_pool);
|
||||
|
||||
/**
|
||||
* @brief Get the number of threads currently waiting for work.
|
||||
*
|
||||
* @param thread_pool calling object
|
||||
* @return number of idle threads
|
||||
*/
|
||||
u_int (*get_idle_threads) (thread_pool_t *thread_pool);
|
||||
|
||||
/**
|
||||
* @brief Destroy a thread_pool_t object.
|
||||
|
||||
Reference in New Issue
Block a user