mirror of
https://github.com/fluencelabs/redis
synced 2025-06-23 05:51:34 +00:00
Jemalloc updated to 4.0.3.
This commit is contained in:
6
deps/jemalloc/test/src/thd.c
vendored
6
deps/jemalloc/test/src/thd.c
vendored
@ -14,7 +14,11 @@ void
|
||||
thd_join(thd_t thd, void **ret)
|
||||
{
|
||||
|
||||
WaitForSingleObject(thd, INFINITE);
|
||||
if (WaitForSingleObject(thd, INFINITE) == WAIT_OBJECT_0 && ret) {
|
||||
DWORD exit_code;
|
||||
GetExitCodeThread(thd, (LPDWORD) &exit_code);
|
||||
*ret = (void *)(uintptr_t)exit_code;
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
|
Reference in New Issue
Block a user