Differences From Artifact [788d08f5c1]:
- File src/condition.h — part of check-in [92d63d6367] at 2019-09-01 13:49:06 on branch trunk — OFCondition: Support waiting for Exec Signals (user: js, size: 2148) [annotate] [blame] [check-ins using]
To Artifact [ac98704b3b]:
- File
src/condition.h
— part of check-in
[35b6a34c32]
at
2019-09-01 18:50:10
on branch trunk
— condition.h: Remove OF_ASSUME_NONNULL_{BEGIN,END}
This must not be here as then everything would need to have nullability
annotations, which causes problems for types that are pointers on some
systems but not on others. (user: js, size: 2100) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
45 46 47 48 49 50 51 | struct Task *task; uint8_t sigBit; struct of_condition_waiting_task *next; } *waitingTasks; } of_condition_t; #endif | < < < < | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | struct Task *task; uint8_t sigBit; struct of_condition_waiting_task *next; } *waitingTasks; } of_condition_t; #endif #ifdef __cplusplus extern "C" { #endif extern bool of_condition_new(of_condition_t *condition); extern bool of_condition_signal(of_condition_t *condition); extern bool of_condition_broadcast(of_condition_t *condition); extern bool of_condition_wait(of_condition_t *condition, of_mutex_t *mutex); extern bool of_condition_timed_wait(of_condition_t *condition, of_mutex_t *mutex, of_time_interval_t timeout); #ifdef OF_AMIGAOS extern bool of_condition_wait_or_signal(of_condition_t *condition, of_mutex_t *mutex, ULONG *signalMask); extern bool of_condition_timed_wait_or_signal(of_condition_t *condition, of_mutex_t *mutex, of_time_interval_t timeout, ULONG *signalMask); #endif extern bool of_condition_free(of_condition_t *condition); #ifdef __cplusplus } #endif |