path: root/test/fiber
AgeCommit message (Expand)Author
13 daysSuppress the “experimental" warnings for `IO::Buffer`Nobuyoshi Nakada
2021-11-10Mark IO::Buffer as experimental.Samuel Williams
2021-09-20Add alternative optional hook for `scheduler_close` to allow public usage of ...Samuel Williams
2021-08-26Fix example fiber scheduler reg. writable eventsLars Kanis
2021-08-03Fix potential hang when joining threads.Samuel Williams
2021-07-28Revert "Fix potential hang when joining threads."Yusuke Endoh
2021-07-27Fix potential hang when joining threads.Samuel Williams
2021-06-29Prefer qualified names under ThreadNobuyoshi Nakada
2021-06-15Suppress exception report in inner threadNobuyoshi Nakada
2021-06-15Close leaked file descriptorsNobuyoshi Nakada
2021-06-14Fix fiber scheduler address resolve solaris testsBruno Sutic
2021-06-14Wake up join list within thread EC context. (#4471)Samuel Williams
2021-06-14Add scheduler hook `Addrinfo.getaddrinfo`. (#4375)Samuel Williams
2021-03-30Test incorrect behaviour of `rb_io_wait_readable/writable`.Samuel Williams
2021-03-30Fix handling of timeout accessing scheduler outside of non-blocking context.Samuel Williams
2021-03-30Improve timeout tests.Samuel Williams
2021-03-30Update method name and add documentation.Samuel Williams
2021-03-30Add hook for `Timeout.timeout`.Samuel Williams
2021-02-09Expose scheduler as public interface & bug fixes. (#3945)Samuel Williams
2020-12-23Add verbose nil in testingDelton Ding
2020-12-23Enable `Fiber.current` and `Fiber#alive?` call inside ractorDelton Ding
2020-12-09Add support for non-blocking `Process.wait`.Samuel Williams
2020-11-08Fix TestFiberMutex#test_condition_variable assertionBenoit Daloze
2020-11-08Urgent notification pipe has same lifetime as scheduler.Samuel Williams
2020-11-08Defer `kernel_sleep` to `block` to avoid exiting the event loop when duration...Samuel Williams
2020-11-07Rename to `Fiber#set_scheduler`.Samuel Williams
2020-10-01Refined assertions for better failure messagesNobuyoshi Nakada
2020-10-01strip trailing spaces [ci skip]Nobuyoshi Nakada
2020-10-01Remove `Thread.scheduler` from public interface.Samuel Williams
2020-10-01Raise an exception if the scheduler was already closed.Samuel Williams
2020-10-01Don't call `Scheduler#close` if it doesn't exist.Samuel Williams
2020-09-30Fix order of operations during `rb_ec_finalize`.Samuel Williams
2020-09-28Remove unnecessary executable bit [ci skip]Kazuhiro NISHIYAMA
2020-09-24test/fiber/scheduler.rb: Prevent "instance variable @urgent not initialized"Yusuke Endoh
2020-09-23strip trailing spaces [ci skip]Nobuyoshi Nakada
2020-09-21Simplify the implementation of Scheduler#blockBenoit Daloze
2020-09-21Make `Thread#join` non-blocking.Samuel Williams
2020-09-21When setting current thread scheduler to nil, invoke `#close`.Samuel Williams
2020-09-20Remove from waiter in Mutex#lock with ensure when calling rb_scheduler_block()Benoit Daloze
2020-09-17Add missing goto found;Benoit Daloze
2020-09-17Fix Mutex#unlock with a scheduler and thread contentionBenoit Daloze
2020-09-17Document the various scheduler hooksBenoit Daloze
2020-09-17Call scheduler.block instead of scheduler.kernel_sleep for blocking Queue/Siz...Benoit Daloze
2020-09-17Rename scheduler.{mutex_lock,mutex_unlock} to {block,unblock}Benoit Daloze
2020-09-17Use a similar pattern for waiting and readyBenoit Daloze
2020-09-16Add a note at the top of the test schedulerBenoit Daloze
2020-09-14Add support for Queue & SizedQueue.Samuel Williams
2020-09-14Add support for ConditionVariable.Samuel Williams
2020-09-14Improve handling of urgent notification pipe.Samuel Williams
2020-09-14Make Mutex per-Fiber instead of per-ThreadBenoit Daloze