Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Corion (Patriarch)
on Nov 04, 2014 at 14:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1106043]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-24 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found