![]() |
Home page |
Mailing list |
Docs
Asterisk developer's documentation :: Codename Pineapple
ast_threadstorage Struct Reference
#include <threadstorage.h>
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 |
|
|
Custom initialization function specific to the object |
|
|
The key used to retrieve this thread's data Definition at line 60 of file threadstorage.h. |
|
|
The function that initializes the key |
|
|
Ensure that the key is only initialized by one thread Definition at line 59 of file threadstorage.h. |