summaryrefslogtreecommitdiff
path: root/djgpp
AgeCommit message (Expand)Author
2003-12-25This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
2003-01-01* configure.in: better DJGPP support. add GNUmakefile.eban
2002-10-27* djgpp/config.sed (@program_transform_name@): use `%', not `,'.eban
2002-10-27* djgpp/*: sync with the latest.eban
2002-09-15* configure.in (OUTFLAG, CPPOUTFILE): moved from lib/mkmf.rb.eban
2002-05-13* djgpp/config.hin, djgpp/config.sed: catch up with the latest change.eban
2001-01-11INLINEeban
2001-01-10NORETURNeban
2000-12-06ebaneban
2000-08-07matzmatz
2000-08-05ebaneban
2000-06-242000-06-24eban
hover-highlight'> Notes: Merged: https://github.com/ruby/ruby/pull/5303 2021-12-20Improve IO::Buffer resize and introduce ownership transfer.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/5301 2021-11-10IO::Buffer for scheduler interface.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/4621 2021-09-20Add gvl and fiber assertions to scheduler interface to catch invalid usage.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/4656 2021-09-20Add alternative optional hook for `scheduler_close` to allow public usage of ↵Samuel Williams close. Notes: Merged: https://github.com/ruby/ruby/pull/4658 2021-06-17Adjust styles [ci skip]Nobuyoshi Nakada * --braces-after-func-def-line * --dont-cuddle-else * --procnames-start-lines * --space-after-for * --space-after-if * --space-after-while 2021-06-14Fixed method names in exception messagesNobuyoshi Nakada These methods are not !-suffixed, and the messages were very confusing. 2021-06-14Wake up join list within thread EC context. (#4471)Samuel Williams * Wake up join list within thread EC context. * Consume items from join list so that they are not re-executed. If `rb_fiber_scheduler_unblock` raises an exception, it can result in a segfault if `rb_threadptr_join_list_wakeup` is not within a valid EC. This change moves `rb_threadptr_join_list_wakeup` into the thread's top level EC which initially caused an infinite loop because on exception will retry. We explicitly remove items from the thread's join list to avoid this situation. * Verify the required scheduler interface. * Test several scheduler hooks methods with broken `unblock` implementation. Notes: Merged-By: ioquatix <samuel@codeotaku.com> 2021-06-14Add scheduler hook `Addrinfo.getaddrinfo`. (#4375)Samuel Williams Co-authored-by: Bruno Sutic <code@brunosutic.com> Notes: Merged-By: ioquatix <samuel@codeotaku.com> 2021-03-30Disable public interface for now.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/4173 2021-03-30Update method name and add documentation.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/4173 2021-03-30Fix native implementation.Samuel Williams # Conflicts: # scheduler.c Notes: Merged: https://github.com/ruby/ruby/pull/4173 2021-03-30Fixed a compilation errorNobuyoshi Nakada Notes: Merged: https://github.com/ruby/ruby/pull/4173 2021-03-30Prefer `rb_check_funcall`.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/4173 2021-03-30Add hook for `Timeout.timeout`.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/4173 2021-02-09strip trailing spaces [ci skip]Nobuyoshi Nakada 2021-02-09Expose scheduler as public interface & bug fixes. (#3945)Samuel Williams * Rename `rb_scheduler` to `rb_fiber_scheduler`. * Use public interface if available. * Use `rb_check_funcall` where possible. * Don't use `unblock` unless the fiber was non-blocking. Notes: Merged-By: ioquatix <samuel@codeotaku.com> 2020-12-09Add support for non-blocking `Process.wait`.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/3853 2020-12-05Protoized old pre-ANSI K&R style definitionsNobuyoshi Nakada 2020-11-07Rename to `Fiber#set_scheduler`.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/3742 2020-10-01Added a fallback returnNobuyoshi Nakada 2020-10-01break around function definition [ci skip]Nobuyoshi Nakada 2020-10-01Don't call `Scheduler#close` if it doesn't exist.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/3612 2020-09-21Make `Thread#join` non-blocking.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/3558 2020-09-21When setting current thread scheduler to nil, invoke `#close`.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/3557 2020-09-17Rename scheduler.{mutex_lock,mutex_unlock} to {block,unblock}Benoit Daloze * Move #kernel_sleep next to #block as it is similar 2020-09-14Make Mutex per-Fiber instead of per-ThreadBenoit Daloze * Enables Mutex to be used as synchronization between multiple Fibers of the same Thread. * With a Fiber scheduler we can yield to another Fiber on contended Mutex#lock instead of blocking the entire thread. * This also makes the behavior of Mutex consistent across CRuby, JRuby and TruffleRuby. * [Feature #16792] Notes: Merged: https://github.com/ruby/ruby/pull/3434 2020-09-14Add support for hooking `IO#read`.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/3434 2020-09-14Standardised scheduler interface.Samuel Williams Notes: Merged: https://github.com/ruby/ruby/pull/3434