| 56 | } |
| 57 | |
| 58 | void ResetEvent(event_emul *e) |
| 59 | { |
| 60 | if (SDL_LockMutex(e->mutex) <= -1 || SDL_CondWaitTimeout(e->cond, e->mutex, 0) <= -1 || SDL_UnlockMutex(e->mutex) <= -1) { |
| 61 | ErrSdl(); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | int WaitForEvent(event_emul *e) |
| 66 | { |
no outgoing calls
no test coverage detected