[THREADING] Removed old walkaround for zombie threads
This commit is contained in:
parent
fe3e4409fd
commit
5140d4940e
|
@ -137,9 +137,6 @@ dword_result_t ExCreateThread(lpdword_t handle_ptr, dword_t stack_size,
|
||||||
if (handle_ptr) {
|
if (handle_ptr) {
|
||||||
if (creation_flags & 0x80) {
|
if (creation_flags & 0x80) {
|
||||||
*handle_ptr = thread->guest_object();
|
*handle_ptr = thread->guest_object();
|
||||||
} else if (!*handle_ptr && (creation_flags == X_CREATE_SUSPENDED)) {
|
|
||||||
// TODO(Gliniak): Temporary solution, requires more research // && !stack_size
|
|
||||||
*handle_ptr = thread->handle();
|
|
||||||
} else {
|
} else {
|
||||||
*handle_ptr = thread->handle();
|
*handle_ptr = thread->handle();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue