Eneboo - Documentación para desarrolladores
|
#include "unixtls.cpp"
This file leverages compiler support for thread-local variables for access to thread-local heaps, when available. 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.