summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-07-16 15:43:57 +1200
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-07-16 17:32:02 +1200
commit6073a8bdc01c7cfae9671faa4edf85abf6e28c29 (patch)
tree48099452e185cc99393b0a0ec85d34dd452a10d9 /vm.c
parent55a79b648cabcd2a8b837f89c4d32c3c861d8b7a (diff)
Add debug assertion in `rb_funcall*` that the current thread has the gvl.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4657
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index b12021668c..78aadb6a41 100644
--- a/vm.c
+++ b/vm.c
@@ -23,6 +23,7 @@
#include "internal/proc.h"
#include "internal/re.h"
#include "internal/symbol.h"
+#include "internal/thread.h"
#include "internal/vm.h"
#include "internal/sanitizers.h"
#include "iseq.h"