This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
ThreadError: Attempt to unlock a mutex which is locked by another thread/fiber #501
Description
Subject of the issue
Your environment
- Ruby version: 3.0
- rspec-support version: 3.10.2
Steps to reproduce
This is a tricky issue to reproduce.
Essentially it looks like some of the assumptions made by reentrant_mutex.rb
are no longer true in Ruby 3.0. I will review the code and try to give an update, but essentially it looks like trying to lock a ReentrantMutex
from a different fiber on the same thread might be a problem.
Metadata
Metadata
Assignees
Labels
No labels