diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2018-05-03 13:59:12 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2018-05-03 13:59:12 -0700 |
commit | fda0975cb75f439e74231b68afdc76ee754ae7ca (patch) | |
tree | e196fd8f31c671658b86efb7eec29c219f45ecf3 /src/list.h | |
parent | b6723b2566f3613eb2a8a6bfd02fea89adcfd9b4 (diff) |
libpulp: move expire_alarms() to pulp_tick() begin
Expiring alarms of sleeping fibers in pulp_schedule() has the potential
to prevent pulp_tick() from ever returning if there's always another
fiber expiring @ schedule.
In order to allow simple integration with external event loops, pulp_tick()
is supposed to operate on what is essentially a slice of runnable fibers
then immediately return control to the caller.
Diffstat (limited to 'src/list.h')
0 files changed, 0 insertions, 0 deletions