Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
void cutEndThread(CUTThread thread) {
38
WaitForSingleObject(thread, INFINITE);
39
CloseHandle(thread);
40
}
41
42
// Destroy thread
43
void cutDestroyThread(CUTThread thread) {
Callers
1
cutWaitForThreads
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected