documentation for "thread blocked indefinitely in an STM transaction"?
- Dominant language
- Haskell
- Stars
- 118
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
I wonder if something could be done to improve understanding of
```
Prelude Control.Concurrent.STM> atomically $ do v <- newEmptyTMVar; takeTMVar v
*** Exception: thread blocked indefinitely in an STM transaction
```
How can I
* understand why exactly this exception was thrown (it's not mentioned on https://hackage.haskell.org/package/stm-2.5.0.0/docs/Control-Concurrent-STM-TMVar.html)
* find out what exception this really is (if I want to write a handler for it)
This is not about changing the semantics, just documentation.
A link to https://hackage.haskell.org/package/base-4.11.1.0/docs/Control-Exception-Base.html#t:BlockedIndefinitelyOnSTM would help?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.