Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.71K
1 Posted Topic
You are right that the docs are very unclear about this. I think however that calling `SetThreadpoolWait` isn't necessary for cleanup, so destruction can be simplified: static BOOL Destruct(PTP_WAIT wait) { WaitForThreadpoolWaitCallbacks(wait, TRUE); CloseThreadpoolWait(wait); return TRUE; } My understanding is that there is no race condition between thread CPU2 and …
The End.
Klaus_1