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

Function rpmalloc_set_main_thread

source/extern/rpmalloc.c:836–839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834rpmalloc_set_main_thread(void);
835
836void
837rpmalloc_set_main_thread(void) {
838 _rpmalloc_main_thread_id = get_thread_id();
839}
840
841static void
842_rpmalloc_spin(void) {

Callers 2

_global_rpmalloc_initFunction · 0.85
initializerFunction · 0.85

Calls 1

get_thread_idFunction · 0.85

Tested by

no test coverage detected