ruby-changes:59504
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Fri, 27 Dec 2019 03:53:37 +0900 (JST)
Subject: [ruby-changes:59504] e0b1be0162 (master): internal/thread.h rework
https://git.ruby-lang.org/ruby.git/commit/?id=e0b1be0162 From e0b1be01624be75d8ac41b163233186ae2a0db2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Wed, 4 Dec 2019 15:40:18 +0900 Subject: internal/thread.h rework Rather trivial, added missed MJIT_FUNC_EXPORTED function declaration. diff --git a/internal/thread.h b/internal/thread.h index 568351e..886818b 100644 --- a/internal/thread.h +++ b/internal/thread.h @@ -9,6 +9,10 @@ https://github.com/ruby/ruby/blob/trunk/internal/thread.h#L9 * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. */ +#include "ruby/ruby.h" /* for VALUE */ +#include "ruby/intern.h" /* for rb_blocking_function_t */ + +struct rb_thread_struct; /* in vm_core.h */ /* thread.c */ #define COVERAGE_INDEX_LINES 0 @@ -41,4 +45,8 @@ VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, in https://github.com/ruby/ruby/blob/trunk/internal/thread.h#L45 int ruby_thread_has_gvl_p(void); /* for ext/fiddle/closure.c */ RUBY_SYMBOL_EXPORT_END +MJIT_SYMBOL_EXPORT_BEGIN +int rb_threadptr_execute_interrupts(struct rb_thread_struct *th, int blocking_timing); +MJIT_SYMBOL_EXPORT_END + #endif /* INTERNAL_THREAD_H */ -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/