server-skynet-source-3rd-je.../include/jemalloc/internal
Leonard Crestez cb17fc6a8f Add support for LinuxThreads.
When using LinuxThreads pthread_setspecific triggers recursive
allocation on all threads. Work around this by creating a global linked
list of in-progress tsd initializations.

This modifies the _tsd_get_wrapper macro-generated function. When it has
to initialize an TSD object it will push the item to the linked list
first. If this causes a recursive allocation then the _get_wrapper
request is satisfied from the list. When pthread_setspecific returns the
item is removed from the list.

This effectively adds a very poor substitute for real TLS used only
during pthread_setspecific allocation recursion.

Signed-off-by: Crestez Dan Leonard <lcrestez@ixiacom.com>
2013-10-24 18:25:19 -07:00
..
arena.h Fix a Valgrind integration flaw. 2013-10-19 21:40:20 -07:00
atomic.h Add support for MSVC 2012-05-01 11:32:11 -07:00
base.h Fix fork-related bugs. 2012-03-13 16:31:41 -07:00
bitmap.h Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
chunk_dss.h Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
chunk_mmap.h Fix mlockall()/madvise() interaction. 2012-10-08 18:04:49 -07:00
chunk.h Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
ckh.h Update hash from MurmurHash2 to MurmurHash3. 2013-01-22 12:02:08 -08:00
ctl.h Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
extent.h Fix mlockall()/madvise() interaction. 2012-10-08 18:04:49 -07:00
hash.h Update hash from MurmurHash2 to MurmurHash3. 2013-01-22 12:02:08 -08:00
huge.h Add arena-specific and selective dss allocation. 2012-10-12 18:26:16 -07:00
jemalloc_internal.h.in Fix inlining warning. 2013-10-19 17:26:00 -07:00
mb.h Simplify small size class infrastructure. 2012-02-28 16:50:47 -08:00
mutex.h Add support for Mingw 2012-04-21 21:27:46 -07:00
private_namespace.h Fix a Valgrind integration flaw. 2013-10-19 21:40:20 -07:00
prng.h Rename prn to prng. 2012-03-02 15:59:45 -08:00
prof.h Fix potential TLS-related memory corruption. 2013-01-31 14:23:48 -08:00
ql.h Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
qr.h Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
quarantine.h Fix potential TLS-related memory corruption. 2013-01-31 14:23:48 -08:00
rb.h Clean up rb documentation. 2011-11-01 20:48:31 -07:00
rtree.h Fix fork(2)-related deadlocks. 2012-10-09 15:21:46 -07:00
size_classes.sh Use echo instead of cat in loops in size_classes.sh 2012-04-16 22:45:09 -07:00
stats.h Implement malloc_vsnprintf(). 2012-03-07 16:19:19 -08:00
tcache.h Fix a Valgrind integration flaw. 2013-10-19 23:48:40 -07:00
tsd.h Add support for LinuxThreads. 2013-10-24 18:25:19 -07:00
util.h Prefer not_reached() over assert(false) where appropriate. 2013-10-21 14:56:27 -07:00