| 348 | } |
| 349 | |
| 350 | int handle_data(bthread_id_t id, void* data, int error_code) { |
| 351 | EXPECT_EQ(EBADF, error_code); |
| 352 | ++*(int*)data; |
| 353 | EXPECT_EQ(0, bthread_id_unlock_and_destroy(id)); |
| 354 | return 0; |
| 355 | } |
| 356 | |
| 357 | TEST(BthreadIdTest, list_signal) { |
| 358 | bthread_id_list_t list; |
nothing calls this directly
no test coverage detected