summaryrefslogtreecommitdiff
path: root/thread.c
AgeCommit message (Expand)Author
2025-05-17merge revision(s) 0d6263bd416338a339651fb97fe4d62701704c4b: [Backport #21220]nagachika
2024-09-23Ensure fiber scheduler is woken up when close interrupts readKJ Tsanaktsidis
2024-05-30merge revision(s) 055613fd868a8c94e43893f8c58a00cdd2a81f6d,127d7a35df10ee2bc9...Takashi Kokubun
2024-05-29merge revision(s) a7ff264477105b5dc0ade6facad4176a1b73df0b: [Backport #20393]Takashi Kokubun
2024-05-29Suppress -Wclobbered warningsTakashi Kokubun
2024-05-29merge revision(s) 78d9fe69479d32214a52ad7291c3973f1b6b7f6f: [Backport #20286]Takashi Kokubun
2024-05-28Backport bug #20493 to Ruby 3.3 (#10798)KJ Tsanaktsidis
2023-12-24accept `RB_WAITFD_IN | RB_WAITFD_OUT` for waiting eventsKoichi Sasada
2023-12-23MN: skip waiting on fiber schedulersKoichi Sasada
2023-12-23MN: fix "raise on close"Koichi Sasada
2023-12-20Hand thread into `thread_sched_wait_events_timeval`JP Camara
2023-12-20KQueue support for M:N threadsJP Camara
2023-12-20setup `waiting_fd` for `thread_sched_wait_events()`Koichi Sasada
2023-12-10Change the semantics of rb_postponed_job_registerKJ Tsanaktsidis
2023-12-08Thread specific storage APIsKoichi Sasada
2023-11-27Refactor and fix the GVL instrumentation APIJean Boussier
2023-11-22Embed ThreadGroup objectJean Boussier
2023-11-13GVL Instrumentation: pass thread->self as part of event dataJean Boussier
2023-10-13fix `native_thread_destroy()` timingKoichi Sasada
2023-10-12M:N thread scheduler for RactorsKoichi Sasada
2023-09-07Optimize handle_interrupt(Exception => ..) as a common caseMatthew Draper
2023-09-07Skip allocation if handle_interrupt arg is already usableMatthew Draper
2023-07-13Remove RARRAY_CONST_PTR_TRANSIENTPeter Zhu
2023-06-30Compile disabled code for thread cache alwaysNobuyoshi Nakada
2023-06-30Don't check for null pointer in calls to freePeter Zhu
2023-06-03Fix `Thread#join(timeout)` when running inside the fiber scheduler. (#7903)Samuel Williams
2023-06-01Use a real Ruby mutex in rb_io_close_wait_list (#7884)KJ Tsanaktsidis
2023-05-26* expand tabs. [ci skip]git
2023-05-26Fix busy-loop when waiting for file descriptors to closeKJ Tsanaktsidis
2023-05-26Fix a potential busy-loop in the thread scheduler (esp. on FreeBSD)KJ Tsanaktsidis
2023-05-18Add Fiber#kill, similar to Thread#kill. (#7823)Samuel Williams
2023-05-15Remove explicit SIGCHLD handling. (#7816)Samuel Williams
2023-04-04fix deadlock on `Thread#join`Koichi Sasada
2023-04-01use `sleep_forever()` on `thread_join_sleep()`Koichi Sasada
2023-03-31cosmetic changeKoichi Sasada
2023-03-31pass `th` to `thread_sched_to_waiting()`Koichi Sasada
2023-03-31remove "\n" for `RUBY_DEBUG_LOG()`Koichi Sasada
2023-03-30`rb_ractor_thread_list()` only for current ractorKoichi Sasada
2023-03-30cosmetic changeKoichi Sasada
2023-03-15Rename RB_GC_SAVE_MACHINE_CONTEXT -> RB_VM_SAVE_MACHINE_CONTEXTMatt Valentine-House
2023-03-15Remove SIGCHLD `waidpid`. (#7527)Samuel Williams
2023-03-14Revert SIGCHLD changes to diagnose CI failures. (#7517)Samuel Williams
2023-03-09Remove SIGCHLD `waidpid`. (#7476)Samuel Williams
2023-03-07Remove obsoleted functions in rjit.cTakashi Kokubun
2023-03-07Get rid of MJIT's special forkTakashi Kokubun
2023-03-06s/mjit/rjit/Takashi Kokubun
2023-03-06s/MJIT/RJIT/Takashi Kokubun
2023-03-07Correctly clean up `keeping_mutexes` before resuming any other threads. (#7460)Samuel Williams
2023-03-06Stop exporting symbols for MJITTakashi Kokubun
2023-03-06TestThreadInstrumentation: emit the EXIT event soonerJean Boussier