summaryrefslogtreecommitdiff
path: root/fibers.texi (follow)
Commit message (Expand)AuthorAgeFilesLines
* Substitute @math for @sub, typo fixesCraig Maloney2017-08-161-4/+4
* Removing accidental inclusion of example's previous timing.•••* fibers.texi: Removing previous timing output. Christopher Allan Webber2017-08-061-4/+0
* Update speed measurement for ping-pong testAndy Wingo2017-08-061-2/+6
* Rebase fibers on top of schedulers and tasks•••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. Andy Wingo2017-08-061-126/+101
* Document signal-condition!•••* fibers.texi (Conditions): Document signal-condition! Christopher Allan Webber2017-07-301-0/+5
* Fibers 1.0.0 documentation.•••* fibers.texi: Update for 1.0.0. Andy Wingo2017-02-201-13/+11
* Update examples in manual•••* fibers.texi: Update examples and example timings. Andy Wingo2017-02-201-18/+15
* Update documentation.•••* fibers.texi (Internals): Document scheduler-work-pending?. Andy Wingo2017-02-201-0/+5
* run-fibers returns when initial fiber finishes•••* 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. Andy Wingo2017-02-191-8/+7
* Minor documentation update•••* fibers.texi: Bump version and date. Add words about scalability. Andy Wingo2017-02-191-2/+26
* Add concurrent web server•••* 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). Andy Wingo2017-02-111-7/+45
* Add condition variable implementation•••* 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. Andy Wingo2017-02-111-2/+36
* Update doc version.•••* fibers.texi: Update version. Andy Wingo2017-01-191-3/+3
* Update documentation.•••* fibers.texi (Using Fibers): Update. Andy Wingo2017-01-191-2/+9
* Update documentation•••* fibers.texi: Update. Andy Wingo2017-01-081-85/+211
* Remove #:keep-scheduler? arg•••* 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. Andy Wingo2016-12-271-11/+7
* 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 preemption•••* 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. Andy Wingo2016-12-121-11/+21
* Minor documentation tweak•••* fibers.texi (Barriers): Prefer the word "suspendable" over "rewindable". Andy Wingo2016-12-121-4/+6
* Fix manual build•••* fibers.texi: Fix Continuation Barriers xref. Andy Wingo2016-12-121-2/+2
* Add scary words about mutexes•••* fibers.texi (Mutexes): New section. Andy Wingo2016-12-121-3/+38
* Add manual section on continuation barriers.•••* fibers.texi (Barriers): New section. Andy Wingo2016-12-121-1/+85
* Update spawn-fiber documentationAndy Wingo2016-12-121-1/+7
* 0.3.0•••* configure.ac: * fibers.texi: Bump version. v0.3.0Andy Wingo2016-10-121-2/+2
* Update documentation•••* fibers.texi: Update. Andy Wingo2016-10-121-27/+189
* Update fibers.texi.•••* fibers.texi: Update. Andy Wingo2016-10-111-26/+101
* Update documentation.•••* fibers.texi: Update. v0.2.0Andy Wingo2016-09-111-2/+271
* Release preparations•••* 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. Andy Wingo2016-09-111-1/+17
* Add fibers.texi•••* fibers.texi: New file. * Makefile.am: Add new file. Andy Wingo2016-09-041-0/+299