MCPcopy Create free account
hub / github.com/davisking/dlib / thread_starter

Function thread_starter

dlib/threads/threads_kernel_1.cpp:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 // -----------------------------------------------------------------------------------
38
39 unsigned int __stdcall thread_starter (
40 void* param
41 )
42 {
43 info* alloc_p = static_cast<info*>(param);
44 info p = *alloc_p;
45 delete alloc_p;
46
47 p.funct(p.param);
48 return 0;
49 }
50
51 // -----------------------------------------------------------------------------------
52

Callers

nothing calls this directly

Calls 1

functMethod · 0.45

Tested by

no test coverage detected