MCPcopy Create free account
hub / github.com/OpenPrinting/cups / _cupsThreadCreate

Function _cupsThreadCreate

cups/thread.c:176–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 */
175
176_cups_thread_t /* O - Thread ID */
177_cupsThreadCreate(
178 _cups_thread_func_t func, /* I - Entry point */
179 void *arg) /* I - Entry point context */
180{
181 pthread_t thread;
182
183 if (pthread_create(&thread, NULL, (void *(*)(void *))func, arg))
184 return (0);
185 else
186 return (thread);
187}
188
189
190/*

Callers 9

do_testFunction · 0.85
finish_document_dataFunction · 0.85
run_printerFunction · 0.85
add_printerFunction · 0.85
create_local_printerFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
run_clientFunction · 0.85
enum_dests_cbFunction · 0.85

Calls

no outgoing calls

Tested by 3

mainFunction · 0.68
run_clientFunction · 0.68
enum_dests_cbFunction · 0.68