summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2013-02-28 21:29:57 +0000
committerRichard Mudgett <rmudgett@digium.com>2013-02-28 21:29:57 +0000
commite2832f18bc50a4430ae1536ff7a588008a5528cf (patch)
tree3bc558bd0b95a58996cb1e349f1a207e74c98749 /include/asterisk
parent6acc9ceb7621d47a78f7e0c69bfad6ed27e8bac2 (diff)
threadpool: Whitespace and comment corrections.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/threadpool.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/threadpool.h b/include/asterisk/threadpool.h
index 15093175a..89076265e 100644
--- a/include/asterisk/threadpool.h
+++ b/include/asterisk/threadpool.h
@@ -103,6 +103,9 @@ struct ast_threadpool_options {
*
* When the threadpool's size increases, it can never increase
* beyond this number of threads.
+ *
+ * Zero is a valid value if the threadpool does not have a
+ * maximum size.
*/
int max_size;
};
@@ -132,7 +135,7 @@ void *ast_threadpool_listener_get_user_data(const struct ast_threadpool_listener
* \brief Create a new threadpool
*
* This function creates a threadpool. Tasks may be pushed onto this thread pool
- * in and will be automatically acted upon by threads within the pool.
+ * and will be automatically acted upon by threads within the pool.
*
* Only a single threadpool with a given name may exist. This function will fail
* if a threadpool with the given name already exists.