Commit c2d9e923 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ntdll: Use the thread pool stack information.

parent 710ae292
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment