summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorKoichi Sasada <[email protected]>2024-11-05 03:55:52 +0900
committerKoichi Sasada <[email protected]>2024-11-08 18:02:46 +0900
commitc8297c3eed571e978dded34dd2036a53d6f28bb3 (patch)
tree14fbd2c4218a73d1c67f3f45ae80ebbd3bf6749d /vm_core.h
parent29578773c2baacef4bd3d4e239713200ac0e6b08 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 398f771121..0ffbe7580d 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -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;