summaryrefslogtreecommitdiff
path: root/main/taskprocessor.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2010-02-22 06:45:52 +0000
committerRussell Bryant <russell@russellbryant.com>2010-02-22 06:45:52 +0000
commit5665aa361f1a1e3d0eb220ca16d57f350e1621b8 (patch)
tree1dca10c3be530d4b91abe75eaa77e62fcc7b7647 /main/taskprocessor.c
parent29c57c6dac47c96232971e68b437fac8c929805e (diff)
Minor tweaks to comment blocks and includes.
Fix the copyright lines, tweak doxygen formatting, and remove some unnecessary includes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@248226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/taskprocessor.c')
-rw-r--r--main/taskprocessor.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/main/taskprocessor.c b/main/taskprocessor.c
index 0de97e503..e09944bf6 100644
--- a/main/taskprocessor.c
+++ b/main/taskprocessor.c
@@ -1,7 +1,7 @@
/*
* Asterisk -- An open source telephony toolkit.
*
- * Copyright (C) 2007-2008, Dwayne M. Hubbard
+ * Copyright (C) 2007-2008, Digium, Inc.
*
* Dwayne M. Hubbard <dhubbard@digium.com>
*
@@ -15,8 +15,9 @@
* the GNU General Public License Version 2. See the LICENSE file
* at the top of the source tree.
*/
-/*! \file
- *
+
+/*!
+ * \file
* \brief Maintain a container of uniquely-named taskprocessor threads that can be shared across modules.
*
* \author Dwayne Hubbard <dhubbard@digium.com>
@@ -26,9 +27,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <signal.h>
-#include <sys/time.h>
-
#include "asterisk/_private.h"
#include "asterisk/module.h"
#include "asterisk/time.h"
@@ -37,11 +35,13 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/taskprocessor.h"
-/*! \brief tps_task structure is queued to a taskprocessor
+/*!
+ * \brief tps_task structure is queued to a taskprocessor
*
* tps_tasks are processed in FIFO order and freed by the taskprocessing
* thread after the task handler returns. The callback function that is assigned
- * to the execute() function pointer is responsible for releasing datap resources if necessary. */
+ * to the execute() function pointer is responsible for releasing datap resources if necessary.
+ */
struct tps_task {
/*! \brief The execute() task callback function pointer */
int (*execute)(void *datap);