| 169 | } |
| 170 | |
| 171 | static int on_numeric_error(bthread_id_t id, void* data, int error_code) { |
| 172 | std::vector<int>* result = static_cast<std::vector<int>*>(data); |
| 173 | result->push_back(error_code); |
| 174 | EXPECT_EQ(0, bthread_id_unlock(id)); |
| 175 | return 0; |
| 176 | } |
| 177 | |
| 178 | TEST(BthreadIdTest, many_error) { |
| 179 | bthread_id_t id1; |
nothing calls this directly
no test coverage detected