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

Function create_new_thread

dlib/threads/threads_kernel_shared.h:211–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209// ----------------------------------------------------------------------------------------
210
211 inline bool create_new_thread (
212 void (*funct)(void*),
213 void* param
214 )
215 {
216 try
217 {
218 // now make this thread
219 return threads_kernel_shared::thread_pool().create_new_thread(funct,param);
220 }
221 catch (std::bad_alloc&)
222 {
223 return false;
224 }
225 }
226
227// ----------------------------------------------------------------------------------------
228

Callers 12

connectFunction · 0.50
linkMethod · 0.50
pipe_kernel_testFunction · 0.50
sockstreambuf_testFunction · 0.50
on_set_clipboardMethod · 0.50
on_get_clipboardMethod · 0.50
error_boxFunction · 0.50
trigger_user_eventMethod · 0.50
on_clickMethod · 0.50
mainFunction · 0.50
mainFunction · 0.50

Calls 1

thread_poolClass · 0.70

Tested by 4

pipe_kernel_testFunction · 0.40
sockstreambuf_testFunction · 0.40
on_set_clipboardMethod · 0.40
on_get_clipboardMethod · 0.40