diff options
| author | Andy Wingo <wingo@pobox.com> | 2017-01-04 21:11:55 +0100 |
|---|---|---|
| committer | Andy Wingo <wingo@pobox.com> | 2017-01-04 21:11:55 +0100 |
| commit | 0c3fa5a7e76ea5000a7776c526a3707161e335ce (patch) | |
| tree | a0d71b84f5ddd2682c46d6f166d5cd8fac3faee0 /tests | |
| parent | Fix ,spawn-fiber (diff) | |
| download | guile-fibers-0c3fa5a7e76ea5000a7776c526a3707161e335ce.tar.gz | |
Prepare for support for blocking operations
* fibers/operations.scm (perform-operation): Block function takes sched
and resume function, not fiber. Will allow blocking operations in the
future.
* fibers/internal.scm (add-timer): Rename from resume-on-timer; just
call a thunk after a time has passed.
* fibers/timers.scm (timer-operation): Adapt to resume-on-timer and
operation changes.
* fibers/channels.scm (put-operation, get-operation): Adapt to operation
changes.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
