diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-22 06:45:52 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-22 06:45:52 +0000 |
commit | 13ede37bbd57a43de67a028db52ffc78169b88da (patch) | |
tree | 1dca10c3be530d4b91abe75eaa77e62fcc7b7647 /main | |
parent | 1dffa6d6fdc6ef893a4fc97e868068a2e0751213 (diff) |
Minor tweaks to comment blocks and includes.
Fix the copyright lines, tweak doxygen formatting, and remove some unnecessary
includes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@248226 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/taskprocessor.c | 16 |
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); |