hi. I'm writing tcp server and I want to know: 1. how can I block thread until some event will occur w/o overhead? (i.e. not timer, but something like semaphore); 2. how can I interrupt IO::select() call from main thread? thank you/ -- Posted via http://www.ruby-forum.com/.