From: Matt Armstrong Date: 2001-09-28T00:32:49+09:00 Subject: [ruby-talk:21773] Re: opening a named pipe? In article <20010927154414.00ea6eca.mike@lepton.fr>, Michael Witrant wrote: > I'm dealing with nearly the same issue: > In the main thread of my script, I would like a loop to open and read > a named pipe forever. It starts some new threads to handle commands > received from the pipe. But all other threads stop running when the > main thread is opening the pipe for reading. In Ruby, all threads are in the same unix process. If one thread blocks on a unix system call (such as doing a blocking read from a pipe), the whole process is blocked and no Ruby threads run. -- matt