| 51 | } |
| 52 | |
| 53 | static void myThread(int tid) { |
| 54 | LOG_INFO("thread ` starting", tid); |
| 55 | while (running) { |
| 56 | for (int i = 0; i < nMutexes; i++) { |
| 57 | timedLock(mutexes[i], i); |
| 58 | } |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | TEST(multi_vcpu_locking, long_time_acquisition_should_abort) { |
| 63 | int ret = photon::init(photon::INIT_EVENT_DEFAULT, photon::INIT_IO_NONE); |
nothing calls this directly
no test coverage detected