MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / cutDestroyThread

Function cutDestroyThread

Common/multithreading.cpp:43–46  ·  view source on GitHub ↗

Destroy thread

Source from the content-addressed store, hash-verified

41
42// Destroy thread
43void cutDestroyThread(CUTThread thread) {
44 TerminateThread(thread, 0);
45 CloseHandle(thread);
46}
47
48// Wait for multiple threads
49void cutWaitForThreads(const CUTThread *threads, int num) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected