Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: use sysread to read non-blocking filehandle

by Corion (Pope)
on Nov 04, 2014 at 14:37 UTC ( #1106043=note: print w/replies, xml ) Need Help??


in reply to Re^3: use sysread to read non-blocking filehandle
in thread use sysread to read non-blocking filehandle

Maybe you want to learn what "nonblocking" really means?

In short, "nonblocking" means that the sysread call will return immediately and tell you how many bytes were read at this time. If your filehandle has nothing to read, it will not block. Blocking means "wait until data is avilable".

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1106043]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2020-12-01 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?