| 259 | static acl_pthread_key_t once_key; |
| 260 | |
| 261 | void connect_manager::thread_oninit() |
| 262 | { |
| 263 | int ret = acl_pthread_key_create(&once_key, thread_onexit); |
| 264 | if (ret != 0) { |
| 265 | char buf[256]; |
| 266 | logger_fatal("pthread_key_create error=%s", |
| 267 | acl_strerror(ret, buf, sizeof(buf))); |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | static acl_pthread_once_t once_control = ACL_PTHREAD_ONCE_INIT; |
| 272 |
nothing calls this directly
no test coverage detected