Eneboo - Documentación para desarrolladores
|
'typedefs' | |
typedef void *(* | threadFunctionType )(void *) |
typedef int(* | pthread_create_function )(pthread_t *thread, const pthread_attr_t *attr, threadFunctionType start_routine, void *arg) |
Funciones | |
TheCustomHeapType * | getCustomHeap (void) |
int | pthread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg) throw () |
This file leverages compiler support for thread-local variables for access to thread-local heaps. It also intercepts thread completions to flush these local heaps, returning any unused memory to the global Hoard heap. On Windows, this happens in DllMain. On Unix platforms, we interpose our own versions of pthread_create and pthread_exit.
typedef int(* pthread_create_function)(pthread_t *thread, const pthread_attr_t *attr, threadFunctionType start_routine, void *arg) |
typedef void*(* threadFunctionType)(void *) |
TheCustomHeapType* getCustomHeap | ( | void | ) | [inline] |
int pthread_create | ( | pthread_t * | thread, |
const pthread_attr_t * | attr, | ||
void *(*)(void *) | start_routine, | ||
void * | arg | ||
) | throw () |