in reply to Re: sysread/syswrite wrappers
in thread sysread/syswrite wrappers
it will be read by receiving process very fast (unless whole system unresponsive/swapping), and if sending process crashed/dies, there will be eof. Blocking pipes and reading whole message at once looks ok to me.syswritefull($fh, sprintf("%08d", length($line))) && syswritefull($fh, $line)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: sysread/syswrite wrappers
by BrowserUk (Patriarch) on Oct 12, 2016 at 14:20 UTC | |
by vsespb (Chaplain) on Oct 12, 2016 at 14:44 UTC | |
by BrowserUk (Patriarch) on Oct 12, 2016 at 15:10 UTC | |
by vsespb (Chaplain) on Oct 12, 2016 at 15:22 UTC | |
by BrowserUk (Patriarch) on Oct 12, 2016 at 15:31 UTC | |
|