Module: wine Branch: master Commit: c2d9e92374d472a46635ec56e9a7103ea7a51d6e URL: https://gitlab.winehq.org/wine/wine/-/commit/c2d9e92374d472a46635ec56e9a7103...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Feb 8 03:39:05 2023 +0100
ntdll: Use the thread pool stack information.
---
dlls/ntdll/threadpool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c index 99525f831e1..c50983e83d4 100644 --- a/dlls/ntdll/threadpool.c +++ b/dlls/ntdll/threadpool.c @@ -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) {