Re: subprocesses lifecycle



Peter J. Holzer <hjp-usenet2@xxxxxx> wrote:
*SKIP*
terminate. But since you didn't call $pipe->autoflush the child won't
actually try to write to the pipe until the buffer (4kB on Linux, 8kB on
most other unixes) is full - that will be after about 75 or 150 lines,
respectively.

That's what I'd messed up, line oriented at surface while buffered in
depth. Thanks, now I feel much better.

--
Torvalds' goal for Linux is very simple: World Domination
.



Relevant Pages

  • Re: How to develop a random number generation device
    ... Many operating systens are by design, immune to buffer over-runs modifying unrelated code. ... randomising memory locations) rather than actually preventing the overrun. ... If you try to run a 5-year old Linux binary on a current distribution, ... Linux, and the API is very stable - new API's and system calls are added, but existing ones are seldom changed or removed, and never without very good reason. ...
    (sci.electronics.design)
  • Re: select()/write() semantics
    ... I am writing about Linux 2.6 and Linux 2.6 does not ... select behaviour on FIFOs was discussed. ... if a buffer was added). ... to a set of pipe buffers. ...
    (comp.os.linux.development.apps)
  • Re: Why is it dangerous?
    ... When I compile a program from our C course with a windows compiler ... Is linux more dangerous than windows? ... to the first character in a buffer, and stores an entire line from stdin ...
    (comp.lang.c)
  • Re: [RFC] Add Alternative Log Buffer Support for printk Messages
    ... the boot prom code. ... after a reboot, from Linux. ... starts writing at the tail of that existing external buffer. ... Indeed we use this heavily in embedded systems, ...
    (Linux-Kernel)
  • Re: HP-UX v Linux
    ... The Linux filesystem I/O was about three times faster on ... and about 10 times faster on buffered reads. ... very different behaviour of the different "buffer caches" - Linux seeming to be ...
    (comp.sys.hp.hpux)