concurrent-ruby icon indicating copy to clipboard operation
concurrent-ruby copied to clipboard

Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.

Results 59 concurrent-ruby issues
Sort by recently updated
recently updated
newest added

I've had some chat with @coding-horror over Twitter and concurrent-ruby was brought again to my mind, so I went on to look for the channel implementation, which I found to...

enhancement

Classes using mutex: - [ ] MVar - [ ] TVar - [x] Dereferencable (when is it suppose to be removed?) Classes with final ivars not using layer: - [x]...

bug

Removes dependency on global state from all classes. Introduce `World` which can have default executors, which are injected when constructors on the world are used. Or instead of world it...

enhancement

C-R should unify on what exceptions to catch. Discussed in #507

enhancement
medium-priority

I've written a little gem that makes concurrent-ruby's thread-local variables easy to use, in the same manner of `attr_reader, attr_writer, attr_accessor`: it is called: `thread_local_var_accessors` See: - https://github.com/aks/thread_local_var_accessors - https://rubygems.org/gems/thread_local_var_accessors...

From @XrXr in https://bugs.ruby-lang.org/issues/20614#note-8, we should review usages of Integer#size as it is not equal to pointer size on Windows.

Fixes: https://github.com/ruby-concurrency/concurrent-ruby/issues/1063

This is probably was missed earlier since GCC was more permissive. With gcc-14 it fails (rightfully so): ``` ccache /opt/local/bin/gcc-mp-14 -I. -I/opt/local/include/ruby-3.3.4/ppc-darwin10.0.0d2 -I/opt/local/include/ruby-3.3.4/ruby/backward -I/opt/local/include/ruby-3.3.4 -I. -DHAVE_LIBKERN_OSATOMIC_H -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/libexec/openssl3/include -isystem/opt/local/include...