Module: wine Branch: master Commit: f1be5dcac07b40bec3d0914110ce9372c0b50b43 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f1be5dcac07b40bec3d0914110...
Author: Sebastian Lackner sebastian@fds-team.de Date: Sun Jul 5 02:22:52 2015 +0200
ntdll: Implement threadpool wait queues.
To implement waiting for an arbitrary number of handles, we group them in buckets up to (MAXIMUM_WAIT_OBJECTS - 1) objects, and then assign a dedicated wait queue thread. The last handle is used to notify about changes.
---
dlls/ntdll/threadpool.c | 290 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 282 insertions(+), 8 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=f1be5dcac07b40bec3d091...