Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
834
rpmalloc_set_main_thread(void);
835
836
void
837
rpmalloc_set_main_thread(void) {
838
_rpmalloc_main_thread_id = get_thread_id();
839
}
840
841
static void
842
_rpmalloc_spin(void) {
Callers
2
_global_rpmalloc_init
Function · 0.85
initializer
Function · 0.85
Calls
1
get_thread_id
Function · 0.85
Tested by
no test coverage detected