Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Because in JRuby, concurrent selects can trigger blocking mode exceptions, I've modified IO.select logic to raise a concurrency error when multiple threads try to select on the same sockets at the same time (and fail to do so cleanly). At present, there's no way to do this since we use these channels in both blocking and nonblocking mode; we can't synchronize the blocking mode changes with multiple threads all trying to do select operations.
- Loading branch information