devel/hs-stm-chans 3.0.0.9nb5 NetBSD
Additional types of channels for STM
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- devel
- Package size
- 123.9 KiB, 1440.6 KiB installed
Description
This package offers a collection of channel types, similar to Control.Concurrent.STM.{TChan,TQueue} but with additional features. In particular we offer the following data types:
Control.Concurrent.STM.TBChan: Bounded FIFO channels. When the channel is full, writers will block/retry. This ensures that the writers do not get too far ahead of the readers, which helps to make sure that memory and cpu resources are used responsibly.
Control.Concurrent.STM.TMChan: Closeable FIFO channels.
Control.Concurrent.STM.TMQueue: Closeable FIFO queues. Like TChan (Maybe a) but with a monotonicity guarantee that once Nothing is returned all future reads will be Nothing as well.
Control.Concurrent.STM.TBMChan: Bounded Closeable FIFO channels.
Control.Concurrent.STM.TBMQueue: Bounded Closeable FIFO queues. Combines the capabilities of TBChan and TMChan.
Install
Binary package:
pkgin install hs-stm-chans
From pkgsrc:
cd /usr/pkgsrc/devel/hs-stm-chans && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 3.0.0.9nb5 |
| NetBSD 10.1 aarch64 | 3.0.0.9nb5 |
| SmartOS / illumos x86_64 | 3.0.0.9nb5 |
| macOS 15 arm64 | 3.0.0.9nb5 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.