Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:02:00 2007

Asterisk developer's documentation :: Codename Pineapple


ast_threadstorage Struct Reference

#include <threadstorage.h>


Detailed Description

data for a thread locally stored variable

Definition at line 58 of file threadstorage.h.

Data Fields

int(* custom_init )(void *)
pthread_key_t key
void(* key_init )(void)
pthread_once_t once


Field Documentation

int(* custom_init)(void *)
 

Custom initialization function specific to the object

pthread_key_t key
 

The key used to retrieve this thread's data

Definition at line 60 of file threadstorage.h.

void(* key_init)(void)
 

The function that initializes the key

pthread_once_t once
 

Ensure that the key is only initialized by one thread

Definition at line 59 of file threadstorage.h.


The documentation for this struct was generated from the following file:

Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen