summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2022-11-13 11:18:27 +0900
committernagachika <nagachika@ruby-lang.org>2022-11-13 11:18:27 +0900
commit61818395312c6e765dc8e7be8bf32cd2c82fec39 (patch)
tree9080b5d5dd29ac71849c5ea5145252bd2111f240 /test/ruby
parentdb1aa39ffcaa5b9f062639eb30c76959f4607a8e (diff)
merge revision(s) eacedcfe44a0ae22bf54ddb7df193c48d4c857c6: [Backport #19105]
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> --- test/fiber/test_mutex.rb | 22 +++++++++++++++++++++- thread_sync.c | 4 ++++ 2 files changed, 25 insertions(+), 1 deletion(-)
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions