diff options
| author | Jean byroot Boussier <jean.boussier+github@shopify.com> | 2022-11-08 20:43:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-09 00:43:16 +1300 |
| commit | eacedcfe44a0ae22bf54ddb7df193c48d4c857c6 (patch) | |
| tree | e96392be3a51bf6778354387404af65bae709458 /include | |
| parent | cdb3ec3af84ce5ab1ae9c2bd72f8f0a29620f580 (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')
0 files changed, 0 insertions, 0 deletions
