Tuesday, October 30, 2012

[Rails] reading bytes and blocking

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 Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate