No, it is not a requirement - just a potential debugging aid.
Is it required to assign a "threadhandle" to null after calling Closehandle(threadhandle)?
-
19-10-2022 - |
Question
HANDLE threadHandle = CreateThread(?, ?, ?, .......);
SetThreadPriority(threadHandle, priority);
CloseHandle(threadHandle);
threadHandle = NULL;
............
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow