| 23 | int numCalled = 0; |
| 24 | |
| 25 | void asyncWaitShouldTimeout(int32_t* ptr, |
| 26 | uint32_t val, |
| 27 | ATOMICS_WAIT_RESULT_T waitResult, |
| 28 | void* userData) { |
| 29 | emscripten_out("main: asyncWaitShouldTimeout"); |
| 30 | ++numCalled; |
| 31 | assert(numCalled == 1); |
| 32 | assert(ptr == &addr); |
| 33 | assert(val == 1); |
| 34 | assert(userData == (void*)42); |
| 35 | assert(waitResult == ATOMICS_WAIT_TIMED_OUT); |
| 36 | } |
| 37 | |
| 38 | void asyncWaitFinishedShouldNotBeCalled(int32_t* ptr, |
| 39 | uint32_t val, |
nothing calls this directly
no test coverage detected