ruby/internal
John Hawthorn a34fcf401b Add a new_thread flag to rb_interrupt_exec
Previously rb_ractor_interrupt_exec would use an intermediate function
to create a new thread with the actual target function, replacing the
data being passed in with a piece of malloc memory holding the "next"
function and the original data.

Because of this, passing rb_interrupt_exec_flag_value_data to
rb_ractor_interrupt_exec didn't have the intended effect of allowing
data to be passed in and marked.

This commit adds a rb_interrupt_exec_flag_new_thread flag, which
both simplifies the implementation and allows the original data to be
marked.
2025-06-12 13:13:55 -07:00
..
2024-09-05 12:46:02 +02:00
2024-12-12 14:07:56 -05:00
2025-05-11 23:32:50 +09:00
2025-05-08 07:58:05 +02:00
2024-04-04 15:00:57 +01:00
2025-05-11 23:32:50 +09:00
2024-03-18 13:52:27 +09:00
2025-06-02 09:52:25 -04:00
2025-01-20 10:31:36 -05:00
2024-10-24 16:08:46 +01:00
2025-05-11 23:32:50 +09:00