in reply to Re: Re: fork question
in thread fork question

I don't know if it would make a difference, but your print LOG line has no ; at the end of the line

Here's what might be happening... you don't print a \n and unless you have autoflush on maybe the parent and child are both flushing to the log...
                - Ant

Replies are listed 'Best First'.
Re: Re: Re: Re: fork question
by gennari (Novice) on Apr 17, 2001 at 20:39 UTC
    The real code isn't missing a ; I was just (sloppily :->) giving an example.

    There are no print statements in the child code (between else and exit), so somehow the child is running parent code it shouldn't even be able to see, or the parent is spawning parents, or....