mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 07:01:07 +00:00
Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -19,8 +19,12 @@
|
||||
/*!
|
||||
* \file threadstorage.h
|
||||
* \author Russell Bryant <russell@digium.com>
|
||||
*
|
||||
* \brief Definitions to aid in the use of thread local storage
|
||||
*/
|
||||
|
||||
/*!
|
||||
* \page AstThreadStorage The Asterisk Thread Storage API
|
||||
*
|
||||
*
|
||||
* The POSIX threads (pthreads) API provides the ability to define thread
|
||||
* specific data. The functions and structures defined here are intended
|
||||
@@ -34,6 +38,8 @@
|
||||
* 200 times a second). Instead of doing the equivalent of that many calls
|
||||
* to malloc() and free() per second, thread local storage is used to keep a
|
||||
* list of unused frame structures so that they can be continuously reused.
|
||||
*
|
||||
* - \ref threadstorage.h
|
||||
*/
|
||||
|
||||
#ifndef ASTERISK_THREADSTORAGE_H
|
||||
@@ -86,7 +92,7 @@ struct ast_threadstorage {
|
||||
*
|
||||
* Example usage:
|
||||
* \code
|
||||
* AST_THREADSTORAGE(my_buf, my_init, my_cleanup);
|
||||
* AST_THREADSTORAGE_CUSTOM(my_buf, my_init, my_cleanup);
|
||||
* \endcode
|
||||
*/
|
||||
#define AST_THREADSTORAGE_CUSTOM(name, c_init, c_cleanup) \
|
||||
|
||||
Reference in New Issue
Block a user