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

Function cutStartThread

Common/multithreading.cpp:32–34  ·  view source on GitHub ↗

Create thread

Source from the content-addressed store, hash-verified

30#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
31// Create thread
32CUTThread cutStartThread(CUT_THREADROUTINE func, void *data) {
33 return CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)func, data, 0, NULL);
34}
35
36// Wait for thread to finish
37void cutEndThread(CUTThread thread) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected