Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Non blocking read on a filehandle

by InfiniteSilence (Curate)
on Jan 30, 2001 at 19:31 UTC ( [id://55246]=note: print w/replies, xml ) Need Help??


in reply to Non blocking read on a filehandle

You need to create separate threads, one of input and the other for output. I learned this from Lincoln Stein's new Network Programming with Perl book. There are great examples there of this for different platforms (Win32/Unix).

Celebrate Intellectual Diversity

Replies are listed 'Best First'.
Re (tilly) 2: Non blocking read on a filehandle
by tilly (Archbishop) on Jan 31, 2001 at 08:36 UTC
    Perl does not have a reliable threading model. You cannot rely on this for production level code.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-25 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found