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

Function cutEndThread

Common/multithreading.cpp:37–40  ·  view source on GitHub ↗

Wait for thread to finish

Source from the content-addressed store, hash-verified

35
36// Wait for thread to finish
37void cutEndThread(CUTThread thread) {
38 WaitForSingleObject(thread, INFINITE);
39 CloseHandle(thread);
40}
41
42// Destroy thread
43void cutDestroyThread(CUTThread thread) {

Callers 1

cutWaitForThreadsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected