Skip to content

Commit

Permalink
Remove limit of 1 concurrent thread pool thread
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed May 15, 2024
1 parent ef585ae commit e52811b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cxplat/src/cxplat_winuser/workitem_winuser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ cxplat_winuser_initialize_thread_pool()
goto Exit;
}

SetThreadpoolThreadMaximum(_pool, 1);
return_value = SetThreadpoolThreadMinimum(_pool, 1);
if (!return_value) {
status = CXPLAT_STATUS_FROM_WIN32(GetLastError());
goto Exit;
}

_cleanup_group = CreateThreadpoolCleanupGroup();
if (_cleanup_group == nullptr) {
status = CXPLAT_STATUS_FROM_WIN32(GetLastError());
Expand Down

0 comments on commit e52811b

Please sign in to comment.