summaryrefslogtreecommitdiff
path: root/scheduler.c
Commit message (Expand)AuthorAgeFilesLines
* Fix incorrect usage of `rb_fiber_scheduler_io_(p)(read|write)`. (#7593)Samuel Williams2023-03-251-24/+24
* [DOC] Document new methods of IO::Buffer and Fiber::Scheduler (#7016)Victor Shepelev2022-12-241-0/+18
* Using UNDEF_P macroS-H-GAMELINKS2022-11-161-2/+2
* Update `Fiber::Scheduler` documentation. (#6562)Samuel Williams2022-10-151-1/+309
* Introduce `Fiber::Scheduler#io_select` hook for non-blocking `IO.select`. (#6...Samuel Williams2022-10-151-0/+21
* Improvements to IO::Buffer implementation and documentation. (#6525)Samuel Williams2022-10-121-14/+14
* Add IO#timeout attribute and use it for blocking IO operations. (#5653)Samuel Williams2022-10-071-2/+2
* [Bug #5317] Use `rb_off_t` instead of `off_t`Nobuyoshi Nakada2022-09-081-2/+2
* Add fiber scheduler hooks for `pread`/`pwrite`, and add support to `IO::Buffer`.Samuel Williams2021-12-231-2/+25
* Rename IMMUTABLE to READONLY.Samuel Williams2021-12-211-1/+1
* Improve IO::Buffer resize and introduce ownership transfer.Samuel Williams2021-12-201-0/+2
* IO::Buffer for scheduler interface.Samuel Williams2021-11-101-7/+42
* Add gvl and fiber assertions to scheduler interface to catch invalid usage.Samuel Williams2021-09-201-0/+9
* Add alternative optional hook for `scheduler_close` to allow public usage of ...Samuel Williams2021-09-201-3/+9
* Adjust styles [ci skip]Nobuyoshi Nakada2021-06-171-1/+2
* Fixed method names in exception messagesNobuyoshi Nakada2021-06-141-4/+4
* Wake up join list within thread EC context. (#4471)Samuel Williams2021-06-141-0/+24
* Add scheduler hook `Addrinfo.getaddrinfo`. (#4375)Samuel Williams2021-06-141-0/+14
* Disable public interface for now.Samuel Williams2021-03-301-12/+14
* Update method name and add documentation.Samuel Williams2021-03-301-6/+7
* Fix native implementation.Samuel Williams2021-03-301-2/+11
* Fixed a compilation errorNobuyoshi Nakada2021-03-301-1/+1
* Prefer `rb_check_funcall`.Samuel Williams2021-03-301-1/+1
* Add hook for `Timeout.timeout`.Samuel Williams2021-03-301-0/+8
* strip trailing spaces [ci skip]Nobuyoshi Nakada2021-02-091-2/+2
* Expose scheduler as public interface & bug fixes. (#3945)Samuel Williams2021-02-091-45/+39
* Add support for non-blocking `Process.wait`.Samuel Williams2020-12-091-0/+14
* Protoized old pre-ANSI K&R style definitionsNobuyoshi Nakada2020-12-051-2/+2
* Rename to `Fiber#set_scheduler`.Samuel Williams2020-11-071-0/+49
* Added a fallback returnNobuyoshi Nakada2020-10-011-0/+2
* break around function definition [ci skip]Nobuyoshi Nakada2020-10-011-13/+26
* Don't call `Scheduler#close` if it doesn't exist.Samuel Williams2020-10-011-1/+3
* Make `Thread#join` non-blocking.Samuel Williams2020-09-211-2/+2
* When setting current thread scheduler to nil, invoke `#close`.Samuel Williams2020-09-211-2/+15
* Rename scheduler.{mutex_lock,mutex_unlock} to {block,unblock}Benoit Daloze2020-09-171-8/+8
* Make Mutex per-Fiber instead of per-ThreadBenoit Daloze2020-09-141-0/+14
* Add support for hooking `IO#read`.Samuel Williams2020-09-141-4/+14
* Standardised scheduler interface.Samuel Williams2020-09-141-0/+71