summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-02-13 15:59:16 +0900
committerNobuyoshi Nakada <[email protected]>2025-02-13 18:01:03 +0900
commit4a67ef09ccd703047552b740431cfe15e32451f4 ()
tree1092e15836655fde8935c7788eb0a411e8c9ca42 /thread.c
parentd35cc0cc772b48c5aaba354e7084278da68f44e4 (diff)
[Feature #21116] Extract RJIT as a third-party gem
Notes: Merged: https://.com/ruby/ruby/pull/12740
-rw-r--r--thread.c8
1 files changed, 0 insertions, 8 deletions
@@ -89,7 +89,6 @@
#include "internal/time.h"
#include "internal/warnings.h"
#include "iseq.h"
-#include "rjit.h"
#include "ruby/debug.h"
#include "ruby/io.h"
#include "ruby/thread.h"
@@ -100,10 +99,6 @@
#include "vm_debug.h"
#include "vm_sync.h"
-#if USE_RJIT && defined(HAVE_SYS_WAIT_H)
-#include <sys/wait.h>
-#endif
-
#ifndef USE_NATIVE_THREAD_PRIORITY
#define USE_NATIVE_THREAD_PRIORITY 0
#define RUBY_THREAD_PRIORITY_MAX 3
@@ -4741,9 +4736,6 @@ rb_thread_atfork_internal(rb_thread_t *th, void (*atfork)(rb_thread_t *, const r
rb_ractor_atfork(vm, th);
rb_vm_postponed_job_atfork();
- /* may be held by RJIT threads in parent */
- rb_native_mutex_initialize(&vm->workqueue_lock);
-
/* may be held by any thread in parent */
rb_native_mutex_initialize(&th->interrupt_lock);
ccan_list_head_init(&th->interrupt_exec_tasks);