Differences From Artifact [7ce4083f77]:
- File src/platform/posix/condition.m — part of check-in [8c0d76f782] at 2021-04-17 00:51:42 on branch new-naming-convention — of_time_interval_t -> OFTimeInterval (user: js, size: 1348) [annotate] [blame] [check-ins using]
To Artifact [04e776f8bc]:
- File
src/platform/posix/condition.m
— part of check-in
[dfd52d5220]
at
2021-04-17 16:24:13
on branch new-naming-convention
— of_mutex_t -> OFPlainMutex
Also rename of_rmutex_t -> OFPlainRecursiveMutex. (user: js, size: 1352) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
32 33 34 35 36 37 38 | int of_condition_broadcast(of_condition_t *condition) { return pthread_cond_broadcast(condition); } int | | | | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | int of_condition_broadcast(of_condition_t *condition) { return pthread_cond_broadcast(condition); } int of_condition_wait(of_condition_t *condition, OFPlainMutex *mutex) { return pthread_cond_wait(condition, mutex); } int of_condition_timed_wait(of_condition_t *condition, OFPlainMutex *mutex, OFTimeInterval timeout) { struct timespec ts; ts.tv_sec = (time_t)timeout; ts.tv_nsec = (long)((timeout - ts.tv_sec) * 1000000000); |
︙ | ︙ |