Using CreateThread can create issues if any CRT calls are made, as thread-specific data may not be initialized. Additionally, TerminateThread is not a good idea for similar reasons, and may not free CRT resources.
Using CreateThread can create issues if any CRT calls are made, as thread-specific data may not be initialized. Additionally, TerminateThread is not a good idea for similar reasons, and may not free CRT resources.