3 ms·
There's a naive implementation of an STM in the concurrent-ruby gem that is a good overview of how an STM can work. https://github.com/jdantonio/concurrent-rub
by chrisseaton 13y ago
There's a naive implementation of an STM in the concurrent-ruby gem that is a good overview of how an STM can work.
https://github.com/jdantonio/concurrent-ruby/wiki/TVar-(STM) https://github.com/jdantonio/concurrent-ruby/wiki/TVar-(STM)