| 576 | } |
| 577 | |
| 578 | static void lid_worker_impl(bthread_key_t key) { |
| 579 | ASSERT_EQ(NULL, bthread_getspecific(key)); |
| 580 | ASSERT_EQ(0, bthread_setspecific(key, (void*)lid_seq.fetch_add(1))); |
| 581 | } |
| 582 | |
| 583 | static void* lid_worker(void* arg) { |
| 584 | lid_worker_impl(*static_cast<bthread_key_t*>(arg)); |
no test coverage detected