celluloid / celluloid-io

UNMAINTAINED: See celluloid/celluloid#779 - Evented sockets for Celluloid actors
https://celluloid.io
MIT License
879 stars 93 forks source link

Stream#gets should unblock when Stream is closed from another Task. #79

Open orospakr opened 11 years ago

halorgium commented 11 years ago

This sounds like an amazing bug. It may be with nio4r, but concurrent reads should be serialized within the reactor.

Do you have a reproduction for this case?

tarcieri commented 11 years ago

@halorgium yeah, this should wake up the selector when it happens. For some reason that's not working correctly

halorgium commented 10 years ago

@orospakr do you have a code repo? which ruby are you using? See https://github.com/celluloid/celluloid/blob/master/CONTRIBUTING.md

digitalextremist commented 9 years ago

@orospakr, are you still facing this and have a repro?