aboutsummaryrefslogtreecommitdiffstats
path: root/test/fiber
Commit message (Expand)AuthorAgeFilesLines
* 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
* Simplify bitmasks for IO events.Samuel Williams2020-09-141-2/+2
* test/fiber/test_backtrace.rb: prevent a warningYusuke Endoh2020-08-181-2/+2
* Expose ec -> backtrace (internal) and use it to implement fiber backtrace.Samuel Williams2020-08-181-0/+22
* Suppress "assigned but unused variable" warningsYusuke Endoh2020-07-231-2/+2
* Remove trailing spaces [ci skip]Nobuyoshi Nakada2020-07-201-2/+2
* Add multi-threaded I/O test.Samuel Williams2020-07-201-0/+23
* Improve consistency of tests.Samuel Williams2020-07-203-5/+13
* Remove fiber HTTP test.Samuel Williams2020-07-161-28/+0
* Close sockets if blocking to fix leaked fdsNobuyoshi Nakada2020-07-151-1/+7
* Improved assertionsNobuyoshi Nakada2020-06-091-2/+2
* Return seconds slept after Thread.scheduler wait_sleepnicholas a. evans2020-06-091-1/+18
* Fixup d48c92aa04ffd3a1cecef599eaa5e4409aab2fe4Hiroshi SHIBATA2020-05-231-1/+1
* Rename TestScheduler* to TestFiber for convention of the test directoryHiroshi SHIBATA2020-05-236-6/+6
* Move `test/scheduler` -> `test/fiber` [Bug #16892][ruby-core:98366].Samuel Williams2020-05-158-0/+428