| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
* fibers.texi: Removing previous timing output.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
This commit refactors fibers to be based on lighter-weight "tasks",
and makes the scheduler API more orthogonal. Now there are no more
fiber objects (although the fibers layer could re-add them if they are
useful), and fibers no longer have names (although again this could be
re-added at an upper layer). Also it's the current scheduler that's
bound by a parameter, not the current fiber, and as it's a thread-safe
parameter it doesn't need to be bound in each fiber.
|
| |
|
|
| |
* fibers.texi (Conditions): Document signal-condition!
|
| |
|
|
| |
* fibers.texi: Update for 1.0.0.
|
| |
|
|
| |
* fibers.texi: Update examples and example timings.
|
| |
|
|
| |
* fibers.texi (Internals): Document scheduler-work-pending?.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* epoll.c (scm_primitive_epoll_wait): Accept timeout in internal time
units instead of milliseconds. Avoid some overhead if the timeout is
zero.
* fibers/epoll.scm (epoll): Adapt to primitive-epoll-wait chance.
Change get-timeout callback to an "expiry" argument and an
update-expiry last-minute function. Tighten the window around the
"waiting" epoll-state.
* fibers.scm (%run-fibers): Remove current-read-waiter /
current-write-waiter parameterization, given that fibers individually
each have this parameterization.
(run-fibers): Add #:drain? argument.
* fibers/internal.scm (schedule-runnables-for-next-turn): Simplify a
bit, inlining scheduler-poll-timeout and adapting to epoll change.
(scheduler-work-pending?): New function.
(run-scheduler): Simplify finish? logic.
* tests/basic.scm:
* tests/speedup.scm: Update to drain where needed.
* fibers.texi: Update for new run-fibers termination condition.
|
| |
|
|
| |
* fibers.texi: Bump version and date. Add words about scalability.
|
| |
|
|
|
|
|
|
| |
* fibers.texi (Concurrent Web Server): New section.
* fibers/web/server.scm: Add web server that can run handlers
concurrently.
* examples/concurrent-web-hello.scm: New file.
* Makefile.am (SOURCES): Add (fibers web server).
|
| |
|
|
|
|
|
|
|
| |
* fibers/conditions.scm:
* tests/conditions.scm: New files.
* Makefile.am: Add new files.
* fibers.texi (Conditions): New section.
* fibers/timers.scm (sleep-operation): Rename from wait-operation.
* tests/foreign.scm: Adapt to sleep-operation change.
|
| |
|
|
| |
* fibers.texi: Update version.
|
| |
|
|
| |
* fibers.texi (Using Fibers): Update.
|
| |
|
|
| |
* fibers.texi: Update.
|
| |
|
|
|
|
|
| |
* fibers.scm (run-fibers): Remove #:keep-scheduler? argument; instead,
only destroy schedulers that we create.
* fibers.texi (Using Fibers): Update run-fibers docs.
* web/server/fibers.scm (server-read): Adapt.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Add new test.
* TODO.md: Remove stale TODO entries.
* fibers.scm (run-fibers): Add #:hz parameter.
* fibers.texi (Design): Mention that we support preemption.
(Using Fibers): Update for preemption.
* fibers/internal.scm (<scheduler>): Add hz field.
(make-scheduler): Add #:hz initarg.
(maybe-preemptive): New helper.
(run-scheduler): Use maybe-preemptive.
* tests/preemption.scm: New test.
|
| |
|
|
|
| |
* fibers.texi (Barriers): Prefer the word "suspendable" over
"rewindable".
|
| |
|
|
| |
* fibers.texi: Fix Continuation Barriers xref.
|
| |
|
|
| |
* fibers.texi (Mutexes): New section.
|
| |
|
|
| |
* fibers.texi (Barriers): New section.
|
| | |
|
| |
|
|
|
| |
* configure.ac:
* fibers.texi: Bump version.
|
| |
|
|
| |
* fibers.texi: Update.
|
| |
|
|
| |
* fibers.texi: Update.
|
| |
|
|
| |
* fibers.texi: Update.
|
| |
|
|
|
|
| |
* README: New link to README.md, to make automake --gnu happe.
* configure.ac: Bump version in anticipation of release.
* fibers.texi: Start to flesh out a bit more.
|
|
|
* fibers.texi: New file.
* Makefile.am: Add new file.
|