summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2013-01-15 20:15:00 +0000
committerMark Michelson <mmichelson@digium.com>2013-01-15 20:15:00 +0000
commit03e89247ded06b5320684bfa10a6e5e2fbe57646 (patch)
treef00dbf712892926e00fa98719997354f3794f2d8 /include
parentc6bc51ef28a79303500ab541684e8adc331cc662 (diff)
Address further review feedback from David Lee.
* Clarify some documentation * Change copyright date of taskprocessor files * Address potential issue of creating taskprocessor with listener if taskprocessor with that name exists already git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@379124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/taskprocessor.h4
-rw-r--r--include/asterisk/threadpool.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/asterisk/taskprocessor.h b/include/asterisk/taskprocessor.h
index c64a8f902..eb3137c96 100644
--- a/include/asterisk/taskprocessor.h
+++ b/include/asterisk/taskprocessor.h
@@ -1,7 +1,7 @@
/*
* Asterisk -- An open source telephony toolkit.
*
- * Copyright (C) 2007-2008, Digium, Inc.
+ * Copyright (C) 2007-2013, Digium, Inc.
*
* Dwayne M. Hubbard <dhubbard@digium.com>
*
@@ -22,7 +22,7 @@
*
* \author Dwayne M. Hubbard <dhubbard@digium.com>
*
- * \note A taskprocessor is a named singleton containing a task queue that
+ * \note A taskprocessor is a named object containing a task queue that
* serializes tasks pushed into it by [a] module(s) that reference the taskprocessor.
* A taskprocessor is created the first time its name is requested via the
* ast_taskprocessor_get() function or the ast_taskprocessor_create_with_listener()
diff --git a/include/asterisk/threadpool.h b/include/asterisk/threadpool.h
index a549ae3e1..f003ace1f 100644
--- a/include/asterisk/threadpool.h
+++ b/include/asterisk/threadpool.h
@@ -135,7 +135,7 @@ struct ast_threadpool_listener *ast_threadpool_listener_alloc(
* in and will be automatically acted upon by threads within the pool.
*
* \param name The name for the threadpool
- * \param listener The listener the threadpool will notify of changes
+ * \param listener The listener the threadpool will notify of changes. Can be NULL.
* \param options The behavioral options for this threadpool
* \retval NULL Failed to create the threadpool
* \retval non-NULL The newly-created threadpool