Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^8: Forks, Pipes and Exec (file descriptors)

by diabelek (Beadle)
on Nov 07, 2008 at 23:14 UTC ( #722315=note: print w/replies, xml ) Need Help??

in reply to Re^7: Forks, Pipes and Exec (file descriptors)
in thread Forks, Pipes and Exec

Time to go home for the weekend but here's a little bit more I found out.

I tried to pump various amounts of data through the pipe and found that the pipe seems to complete its first read after 4096 bytes. I'm curious if there is a timeout as well that will let it complete the read.

This makes me ask the question though, if I set the file handle to non blocking and Windows actually understands the non blocking, why can I only read data in after 4096 bytes have been written in? That tells me that Windows isn't doing non blocking IO but supposedly it does support it.

I'll play more this weekend but if anyone has any pointers on what to look for, I'd appreciate it. I'm in the dark on this.

  • Comment on Re^8: Forks, Pipes and Exec (file descriptors)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2023-09-30 23:07 GMT
Find Nodes?
    Voting Booth?

    No recent polls found