MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / get_thread_heap_raw

Function get_thread_heap_raw

source/extern/rpmalloc.c:764–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762#endif
763
764static inline heap_t*
765get_thread_heap_raw(void) {
766#if (defined(__APPLE__) || defined(__HAIKU__)) && ENABLE_PRELOAD
767 return pthread_getspecific(_memory_thread_heap);
768#else
769 return _memory_thread_heap;
770#endif
771}
772
773//! Get the current thread heap
774static inline heap_t*

Callers 7

get_thread_heapFunction · 0.85
_rpmalloc_heap_releaseFunction · 0.85
rpmalloc_thread_finalizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected