ntdll: Use the thread pool stack information.

This commit is contained in:
Francois Gouget 2023-02-08 03:39:05 +01:00 committed by Alexandre Julliard
parent 710ae2928e
commit c2d9e92374

View file

@ -1152,7 +1152,8 @@ static NTSTATUS tp_new_worker_thread( struct threadpool *pool )
HANDLE thread;
NTSTATUS status;
status = RtlCreateUserThread( GetCurrentProcess(), NULL, FALSE, 0, 0, 0,
status = RtlCreateUserThread( GetCurrentProcess(), NULL, FALSE, 0,
pool->stack_info.StackReserve, pool->stack_info.StackCommit,
threadpool_worker_proc, pool, &thread, NULL );
if (status == STATUS_SUCCESS)
{