Re: newbie question about fork/pipe/stdin/stdout



On Oct 26, 3:14 pm, vladimir.plotni...@xxxxxxxxx wrote:

put "wait" after read partially help me.
so, one "big" message passed to child and comes back.
But in some cases (toooooooo biiiiiiiig messages) child will output
any data to stdout. so, my program was locked on "while(!feof())".

Your proxy should make forward progress any time it can. Waiting for
one thing to finish before starting another is a recipe for disaster
if something else waits for the second thing to finish before
finishing the first.

DS

.



Relevant Pages

  • Re: newbie question about fork/pipe/stdin/stdout
    ... put "wait" after read partially help me. ... But in some cases (toooooooo biiiiiiiig messages) child will output ...
    (comp.unix.programmer)
  • Re: OT: Reigniting the condiment wars...
    ... it denotes a person received something. ... As a child, I wasn't well read enough to know that "receipt" is a legitimate word for recipe, used in American English as late as the early 1900s. ...
    (rec.crafts.textiles.needlework)
  • Re: Mandated debt relief for quake victims
    ... By Mao Lijun (China Daily) ... The government also told citizen that if they lost a child in the quake, ... It is now two weeks after the disaster. ... The whole country has ...
    (soc.culture.china)
  • Re: Teaching Kids how to Cook
    ... What is the easiest but fun recipe you've taught a child to make? ... The first recipe we learned to make in Junior High HomeEc class. ... Melt over medium heat and bring to a boil. ...
    (rec.food.cooking)
  • Re: Im making Beef Bourguignon next week
    ... inception of the books and the writing of them, ... Child was a consultant and those were her recipes. ... Somehow I doubt that the bourguignon recipe is Julia Child's. ...
    (rec.food.cooking)