[Rails] reading bytes and blocking

2012-10-30 Thread John Merlino
I come across this method: read(n=nil, buffer=nil) – read n bytes (or fewer, if EOF is reached), blocking if necessary, until the bytes are ready. What does it mean blocking if necessary? Blocking what? -- You received this message because you are subscribed to the Google Groups Ruby on

Re: [Rails] reading bytes and blocking

2012-10-30 Thread Colin Law
On 30 October 2012 16:20, John Merlino stoici...@aol.com wrote: I come across this method: read(n=nil, buffer=nil) – read n bytes (or fewer, if EOF is reached), blocking if necessary, until the bytes are ready. What does it mean blocking if necessary? Blocking what? It means that if it is