diff options
author | Koichi Sasada <[email protected]> | 2024-11-05 03:55:52 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2024-11-08 18:02:46 +0900 |
commit | c8297c3eed571e978dded34dd2036a53d6f28bb3 (patch) | |
tree | 14fbd2c4218a73d1c67f3f45ae80ebbd3bf6749d /vm_core.h | |
parent | 29578773c2baacef4bd3d4e239713200ac0e6b08 (diff) |
`interrupt_exec`
introduce
- rb_threadptr_interrupt_exec
- rb_ractor_interrupt_exec
to intercept the thread/ractor execution.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11142
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1156,6 +1156,7 @@ typedef struct rb_thread_struct { struct rb_unblock_callback unblock; VALUE locking_mutex; struct rb_mutex_struct *keeping_mutexes; + struct ccan_list_head interrupt_exec_tasks; struct rb_waiting_list *join_list; |