summaryrefslogtreecommitdiff
path: root/include/ruby/ruby.h
diff options
context:
space:
mode:
authorJean byroot Boussier <jean.boussier+github@shopify.com>2022-11-08 20:43:16 +0900
committerGitHub <noreply@github.com>2022-11-09 00:43:16 +1300
commiteacedcfe44a0ae22bf54ddb7df193c48d4c857c6 (patch)
treee96392be3a51bf6778354387404af65bae709458 /include/ruby/ruby.h
parentcdb3ec3af84ce5ab1ae9c2bd72f8f0a29620f580 (diff)
mutex: Raise a ThreadError when detecting a fiber deadlock (#6680)
[Bug #19105] If no fiber scheduler is registered and the fiber that owns the lock and the one that try to acquire it both belong to the same thread, we're in a deadlock case. Co-authored-by: Jean Boussier <byroot@ruby-lang.org>
Notes
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions