Concurrent icon indicating copy to clipboard operation
Concurrent copied to clipboard

Functional Concurrency Primitives

Results 5 Concurrent issues
Sort by recently updated
recently updated
newest added

Hi, I am trying to use the STM system to run simultaneous transactions from multiple threads. Unfortunately it seems either my usage is incorrect, or my understanding of the API...

``` /// Atomically, take a value from the `MVar`, put a given new value in the /// `MVar`, then return the `MVar`'s old value. public func swap(_ x : A)...

I'd be cool to also add Cocoapods support. I done this implementation myself last month for my library. Just follow [this post](https://guides.cocoapods.org/making/making-a-cocoapod.html) and [this checklist](https://github.com/thellimist/EZPods).

Killed threads do not remove themselves from the reader or writer queue.