Thread safety for NIO::Selector#select
Thread safety for NIO::Selector#select

NIO selectors' selectedKeys aren't thread safe. Synchronizing calls to
NIO::Selector#select ensures that selectedKeys is always accessed in a
thread-safe manner.

marshall-lee/nio4r,celluloid/nio4r,tpetchel/nio4r,marshall-lee/nio4r,tpetchel/nio4r,marshall-lee/nio4r,frsyuki/nio4r,frsyuki/nio4r,frsyuki/nio4r,tpetchel/nio4r,celluloid/nio4r,celluloid/nio4r