pyhton-mvar
A Pyhton port of Haskell's Control.Concurrent.MVar.
This implementation blocks on get if the MVar is empty, and on put if the MVar is not empty.
A MVar is a mutable location which can either be empty, or contain a value. The location can be written to and read from safely from multiple concurrent python threads.
Installation
pip3 install mvar
Example
A brief example with 3 threads and one MVar is available in example
Copyright 2018 Gabriele Baldoni