diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2021-07-16 15:43:57 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2021-07-16 17:32:02 +1200 |
commit | 6073a8bdc01c7cfae9671faa4edf85abf6e28c29 (patch) | |
tree | 48099452e185cc99393b0a0ec85d34dd452a10d9 /vm.c | |
parent | 55a79b648cabcd2a8b837f89c4d32c3c861d8b7a (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |