| 75 | } |
| 76 | |
| 77 | void* do_locks(void *arg) { |
| 78 | struct timespec t = { -2, 0 }; |
| 79 | EXPECT_EQ(ETIMEDOUT, bthread_mutex_timedlock((bthread_mutex_t*)arg, &t)); |
| 80 | return NULL; |
| 81 | } |
| 82 | |
| 83 | TEST(MutexTest, timedlock) { |
| 84 | bthread_cond_t c; |
nothing calls this directly
no test coverage detected