summaryrefslogtreecommitdiff
path: root/fibers.texi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removing accidental inclusion of example's previous timing.Christopher Allan Webber2017-08-061-4/+0
| | | | * fibers.texi: Removing previous timing output.
* Update speed measurement for ping-pong testAndy Wingo2017-08-061-2/+6
|
* Rebase fibers on top of schedulers and tasksAndy Wingo2017-08-061-126/+101
| | | | | | | | | | 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.
* Document signal-condition!Christopher Allan Webber2017-07-301-0/+5
| | | | * fibers.texi (Conditions): Document signal-condition!
* Fibers 1.0.0 documentation.Andy Wingo2017-02-201-13/+11
| | | | * fibers.texi: Update for 1.0.0.
* Update examples in manualAndy Wingo2017-02-201-18/+15
| | | | * fibers.texi: Update examples and example timings.
* Update documentation.Andy Wingo2017-02-201-0/+5
| | | | * fibers.texi (Internals): Document scheduler-work-pending?.
* run-fibers returns when initial fiber finishesAndy Wingo2017-02-191-8/+7
| | | | | | | | | | | | | | | | | | | | | * 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.
* Minor documentation updateAndy Wingo2017-02-191-2/+26
| | | | * fibers.texi: Bump version and date. Add words about scalability.
* Add concurrent web serverAndy Wingo2017-02-111-7/+45
| | | | | | | | * 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).
* Add condition variable implementationAndy Wingo2017-02-111-2/+36
| | | | | | | | | * 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.
* Update doc version.Andy Wingo2017-01-191-3/+3
| | | | * fibers.texi: Update version.
* Update documentation.Andy Wingo2017-01-191-2/+9
| | | | * fibers.texi (Using Fibers): Update.
* Update documentationAndy Wingo2017-01-081-85/+211
| | | | * fibers.texi: Update.
* Remove #:keep-scheduler? argAndy Wingo2016-12-271-11/+7
| | | | | | | * 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.
* Bump version to 0.4.0v0.4.0Andy Wingo2016-12-161-2/+2
|
* Add REPL commands to manualAndy Wingo2016-12-161-0/+37
|
* Add examples to fibers.texiAndy Wingo2016-12-161-0/+199
|
* Update fibers manualAndy Wingo2016-12-161-23/+23
|
* Add support for preemptionAndy Wingo2016-12-121-11/+21
| | | | | | | | | | | | | * 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.
* Minor documentation tweakAndy Wingo2016-12-121-4/+6
| | | | | * fibers.texi (Barriers): Prefer the word "suspendable" over "rewindable".
* Fix manual buildAndy Wingo2016-12-121-2/+2
| | | | * fibers.texi: Fix Continuation Barriers xref.
* Add scary words about mutexesAndy Wingo2016-12-121-3/+38
| | | | * fibers.texi (Mutexes): New section.
* Add manual section on continuation barriers.Andy Wingo2016-12-121-1/+85
| | | | * fibers.texi (Barriers): New section.
* Update spawn-fiber documentationAndy Wingo2016-12-121-1/+7
|
* 0.3.0v0.3.0Andy Wingo2016-10-121-2/+2
| | | | | * configure.ac: * fibers.texi: Bump version.
* Update documentationAndy Wingo2016-10-121-27/+189
| | | | * fibers.texi: Update.
* Update fibers.texi.Andy Wingo2016-10-111-26/+101
| | | | * fibers.texi: Update.
* Update documentation.v0.2.0Andy Wingo2016-09-111-2/+271
| | | | * fibers.texi: Update.
* Release preparationsAndy Wingo2016-09-111-1/+17
| | | | | | * 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.
* Add fibers.texiAndy Wingo2016-09-041-0/+299
* fibers.texi: New file. * Makefile.am: Add new file.