mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
Merge branch 'master' of github.com:cloudwu/skynet
This commit is contained in:
@@ -82,7 +82,7 @@ skynet_current_handle(void) {
|
||||
void * handle = pthread_getspecific(G_NODE.handle_key);
|
||||
return (uint32_t)(uintptr_t)handle;
|
||||
} else {
|
||||
uintptr_t v = (uint32_t)(-THREAD_MAIN);
|
||||
uint32_t v = (uint32_t)(-THREAD_MAIN);
|
||||
return v;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user