aboutsummaryrefslogtreecommitdiffstats
path: root/coroutine/ucontext
Commit message (Collapse)AuthorAgeFilesLines
* function pointers are not void*卜部昌平2020-02-061-1/+1
| | | | The same as 8427fca49bd85205f5a8766292dd893f003c0e48.
* Remove "All Rights Reserved." from Copyright statement.Samuel Williams2019-12-281-1/+1
|
* Remove "All Rights Reserved." from Copyright statement.Samuel Williams2019-12-281-1/+1
|
* coroutine/ucontext/Context.c: define __EXTENSIONS__ explicitlyYusuke Endoh2019-12-051-1/+6
| | | | | | instead of ruby/config.h, per samuel's request. https://github.com/ruby/ruby/commit/dbfd4b780e3914a3f27e92c2248254452bf0fd6b#diff-7fd78c3cc8a19b7e0637502983ec26ff
* coroutine/ucontext/Context.c: Include "ruby/config.h" for SolarisYusuke Endoh2019-12-041-0/+1
| | | | | getcontext, makecontext, and swapcontext seem to be available only when `__EXTENSION__` is defined on Solaris.
* Make fiber_pool more conservative on platforms with limited address space.Samuel Williams2019-07-181-0/+4
| | | | | | | We use COROUTINE_LIMITED_ADDRESS_SPACE to select platforms where address space is 32-bits or less. Fiber pool implementation enables more book keeping, and reduces upper limits, in order to minimise address space utilisation.
* Add `ucontext` coroutine implementation for generic fallback.Samuel Williams2019-06-262-0/+82