Open tarcieri opened 10 years ago
This class is effectively a "task aware mutex" and is available here:
https://github.com/celluloid/celluloid-io/blob/fdd66442f65715e14e27910a01ce0d7ef971915d/lib/celluloid/io/stream.rb#L369
Perhaps it should be called Celluloid::Mutex instead? Celluloid::Lock? Celluloid::Semaphore? (it's close to being a semaphore)
Celluloid::Mutex
Celluloid::Lock
Celluloid::Semaphore
This will be done in 0.17.5 at celluloid/celluloid#341
0.17.5
This class is effectively a "task aware mutex" and is available here:
https://github.com/celluloid/celluloid-io/blob/fdd66442f65715e14e27910a01ce0d7ef971915d/lib/celluloid/io/stream.rb#L369
Perhaps it should be called
Celluloid::Mutex
instead?Celluloid::Lock
?Celluloid::Semaphore
? (it's close to being a semaphore)