haskell / haskell/stm

Add `waitTSemN`

Open
#73 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
118
Forks
41
PR merge metrics
No merged PRs in 30d

Description

`Control.Concurrent.STM.TSem` provides `signalTSemN` to release multiple units, but no `waitTSemN` to acquire multiple units. It would try to acquire all units at once (like [`waitQSemN`](https://hackage.haskell.org/package/base/docs/Control-Concurrent-QSemN.html#v:waitQSemN)).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.