syn
syn copied to clipboard
Synchronization primitives to build concurrent and parallel-safe data structures in Crystal
If you needed proof that `Syn` isn't production-ready :see_no_evil: Note: they're both related to `Syn::Future` (`Syn::Core::Future`) & may be related to the recent `Syn::Core::WaitList::Iterator` that hasn't been tested much and...
The `nsync` library relies on an internal rwlock. It only requires an UInt32 integer and it's filled with smart ideas to implement very efficient mutexes, rwlocks and condition variables. So...
Now that Crystal has the official, yet experimental, `ReferenceStorage(T)` and `T.unsafe_construct` (and `#pre_initialize`) we can choose where to allocate objects, and can embed them right into another object. We don't...
We must investigate the behavior of timeouts. The way they are currently implemented is likely subject to ABA issues with MT, among other issues.