Eneboo - Documentación para desarrolladores
'typedefs' | Funciones
Referencia del Archivo src/hoard/src/userealtls.cpp
#include "VERSION.h"
#include <new>
#include <dlfcn.h>

'typedefs'

typedef void *(* threadFunctionType )(void *)
typedef int(* pthread_create_function )(pthread_t *thread, const pthread_attr_t *attr, threadFunctionType start_routine, void *arg)

Funciones

TheCustomHeapTypegetCustomHeap (void)
int pthread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg) throw ()

Descripción detallada

Autor:
Emery Berger <http://www.cs.umass.edu/~emery>

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.


Documentación de los 'typedefs'

typedef int(* pthread_create_function)(pthread_t *thread, const pthread_attr_t *attr, threadFunctionType start_routine, void *arg)
typedef void*(* threadFunctionType)(void *)

Documentación de las funciones

TheCustomHeapType* getCustomHeap ( void  ) [inline]
int pthread_create ( pthread_t thread,
const pthread_attr_t attr,
void *(*)(void *)  start_routine,
void *  arg 
) throw ()
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'