summaryrefslogtreecommitdiff
path: root/test/fiber
Commit message (Expand)AuthorAgeFilesLines
* Add alternative optional hook for `scheduler_close` to allow public usage of ...Samuel Williams2021-09-201-3/+15
* Fix example fiber scheduler reg. writable eventsLars Kanis2021-08-262-1/+46
* Fix potential hang when joining threads.Samuel Williams2021-08-032-2/+53
* Revert "Fix potential hang when joining threads."Yusuke Endoh2021-07-282-28/+2
* Fix potential hang when joining threads.Samuel Williams2021-07-272-2/+28
* Prefer qualified names under ThreadNobuyoshi Nakada2021-06-292-13/+15
* Suppress exception report in inner threadNobuyoshi Nakada2021-06-151-1/+3
* Close leaked file descriptorsNobuyoshi Nakada2021-06-152-0/+5
* Fix fiber scheduler address resolve solaris testsBruno Sutic2021-06-141-5/+2
* Wake up join list within thread EC context. (#4471)Samuel Williams2021-06-144-2/+66
* Add scheduler hook `Addrinfo.getaddrinfo`. (#4375)Samuel Williams2021-06-142-0/+287
* Test incorrect behaviour of `rb_io_wait_readable/writable`.Samuel Williams2021-03-301-0/+35
* Fix handling of timeout accessing scheduler outside of non-blocking context.Samuel Williams2021-03-302-0/+18
* Improve timeout tests.Samuel Williams2021-03-301-1/+20
* Update method name and add documentation.Samuel Williams2021-03-302-2/+2
* Add hook for `Timeout.timeout`.Samuel Williams2021-03-302-4/+54
* Expose scheduler as public interface & bug fixes. (#3945)Samuel Williams2021-02-093-9/+71
* Add verbose nil in testingDelton Ding2020-12-231-0/+1
* Enable `Fiber.current` and `Fiber#alive?` call inside ractorDelton Ding2020-12-231-0/+22
* Add support for non-blocking `Process.wait`.Samuel Williams2020-12-092-0/+43
* Fix TestFiberMutex#test_condition_variable assertionBenoit Daloze2020-11-081-5/+3
* Urgent notification pipe has same lifetime as scheduler.Samuel Williams2020-11-081-11/+10
* Defer `kernel_sleep` to `block` to avoid exiting the event loop when duration...Samuel Williams2020-11-081-6/+1
* Rename to `Fiber#set_scheduler`.Samuel Williams2020-11-076-22/+38
* Refined assertions for better failure messagesNobuyoshi Nakada2020-10-011-4/+4
* strip trailing spaces [ci skip]Nobuyoshi Nakada2020-10-011-1/+1
* Remove `Thread.scheduler` from public interface.Samuel Williams2020-10-011-7/+6
* Raise an exception if the scheduler was already closed.Samuel Williams2020-10-011-0/+2
* Don't call `Scheduler#close` if it doesn't exist.Samuel Williams2020-10-011-0/+8
* Fix order of operations during `rb_ec_finalize`.Samuel Williams2020-09-301-0/+14
* Remove unnecessary executable bit [ci skip]Kazuhiro NISHIYAMA2020-09-281-0/+0
* test/fiber/scheduler.rb: Prevent "instance variable @urgent not initialized"Yusuke Endoh2020-09-241-0/+2
* strip trailing spaces [ci skip]Nobuyoshi Nakada2020-09-231-1/+1
* Simplify the implementation of Scheduler#blockBenoit Daloze2020-09-211-13/+15
* Make `Thread#join` non-blocking.Samuel Williams2020-09-211-6/+16
* When setting current thread scheduler to nil, invoke `#close`.Samuel Williams2020-09-212-0/+40
* Remove from waiter in Mutex#lock with ensure when calling rb_scheduler_block()Benoit Daloze2020-09-201-0/+32
* Add missing goto found;Benoit Daloze2020-09-171-1/+2
* Fix Mutex#unlock with a scheduler and thread contentionBenoit Daloze2020-09-171-0/+23
* Document the various scheduler hooksBenoit Daloze2020-09-171-0/+3
* Call scheduler.block instead of scheduler.kernel_sleep for blocking Queue/Siz...Benoit Daloze2020-09-172-1/+27
* Rename scheduler.{mutex_lock,mutex_unlock} to {block,unblock}Benoit Daloze2020-09-171-12/+15
* Use a similar pattern for waiting and readyBenoit Daloze2020-09-171-4/+3
* Add a note at the top of the test schedulerBenoit Daloze2020-09-161-0/+4
* Add support for Queue & SizedQueue.Samuel Williams2020-09-141-0/+31
* Add support for ConditionVariable.Samuel Williams2020-09-142-1/+40
* Improve handling of urgent notification pipe.Samuel Williams2020-09-141-14/+12
* Make Mutex per-Fiber instead of per-ThreadBenoit Daloze2020-09-142-7/+77
* Rename `Fiber{}` to `Fiber.schedule{}`.Samuel Williams2020-09-145-11/+11
* Standardised scheduler interface.Samuel Williams2020-09-143-76/+2