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 - |
Pregunta
HANDLE threadHandle = CreateThread(?, ?, ?, .......);
SetThreadPriority(threadHandle, priority);
CloseHandle(threadHandle);
threadHandle = NULL;
............
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow