| 1301 | } |
| 1302 | |
| 1303 | void 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 | } |
no outgoing calls