mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
internal/thread.h rework
Rather trivial, added missed MJIT_FUNC_EXPORTED function declaration.
This commit is contained in:
parent
ce2c97d738
commit
e0b1be0162
Notes:
git
2019-12-26 20:45:57 +09:00
1 changed files with 8 additions and 0 deletions
|
@ -9,6 +9,10 @@
|
|||
* 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
|
|||
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 */
|
||||
|
|
Loading…
Reference in a new issue