MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / comdb2_name_thread

Function comdb2_name_thread

util/thdpool.c:1303–1312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1301}
1302
1303void comdb2_name_thread(const char *name) {
1304#ifndef NDEBUG
1305 return;
1306#endif
1307#ifdef __linux
1308 pthread_setname_np(pthread_self(), name);
1309#elif defined __APPLE__
1310 pthread_setname_np(name);
1311#endif
1312}

Callers 15

net_decom_node_delayedFunction · 0.85
writer_threadFunction · 0.85
reader_threadFunction · 0.85
connect_threadFunction · 0.85
connect_and_acceptFunction · 0.85
accept_threadFunction · 0.85
heartbeat_send_threadFunction · 0.85
heartbeat_check_threadFunction · 0.85
net_dispatchFunction · 0.85
stat_threadFunction · 0.85
flush_thdFunction · 0.85
thdpool_thdFunction · 0.85

Calls

no outgoing calls

Tested by 1

handle_comptest_thdFunction · 0.68