| 450 | } |
| 451 | |
| 452 | static void* succeed_to_lock_id(void* arg) { |
| 453 | bthread_id_t id = *(bthread_id_t*)arg; |
| 454 | EXPECT_EQ(0, bthread_id_lock(id, NULL)); |
| 455 | EXPECT_EQ(0, bthread_id_unlock(id)); |
| 456 | return NULL; |
| 457 | } |
| 458 | |
| 459 | TEST(BthreadIdTest, about_to_destroy_cancelled) { |
| 460 | bthread_id_t id; |
nothing calls this directly
no test coverage detected