RE: Time sharing and fork

2002-03-25 Thread Bernard Dautrevaux
> -Original Message- > From: Stephane Corbe [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 22, 2002 4:55 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: Time sharing and fork > > > Christopher Faylor wrote: > > > That's no

RE: Time sharing and fork

2002-03-22 Thread Robert Collins
> -Original Message- > From: Stephane Corbe [mailto:[EMAIL PROTECTED]] > Sent: Saturday, March 23, 2002 2:55 AM > I don't want serialized anything, I don't expect that the > child or the father start at first. That's serialisation. You want to ensure that the parent does not quit bef

Re: Time sharing and fork

2002-03-22 Thread Larry Hall (RFK Partners, Inc)
At 10:55 AM 3/22/2002, Stephane Corbe wrote: >Christopher Faylor wrote: > > > That's not guaranteed fork behavior. If the child never started, that would > > be a bug. > >As you can see in my previous post, the programm is really simple : >a loop of printf for the child, a loop of printf for the

Re: Time sharing and fork

2002-03-22 Thread Stephane Corbe
Christopher Faylor wrote: > That's not guaranteed fork behavior. If the child never started, that would > be a bug. As you can see in my previous post, the programm is really simple : a loop of printf for the child, a loop of printf for the father. There's no place for a bug here ... > There

Re: Time sharing and fork

2002-03-22 Thread Christopher Faylor
On Fri, Mar 22, 2002 at 12:50:07PM +, Stephane Corbe wrote: >An interresting part of strace traces of the programm show well that the >child didn't start before the death of his father : That's not guaranteed fork behavior. If the child never started, that would be a bug. There is no guaran

Re: Time sharing and fork

2002-03-22 Thread Stephane Corbe
An interresting part of strace traces of the programm show well that the child didn't start before the death of his father : 260> Je suis le pere 9991 260> Je suis le pere 9992 260> Je suis le pere 9993 260> Je suis le pere 9994 260> Je suis le pere 9995 260> Je suis le pere 9996 260> Je suis le

Time sharing and fork

2002-03-22 Thread Stephane Corbe
Hello, Because my problems with fork and DLL continue, I tried to remove DLL and to test only fork. And Cygwin had a really different behavior than unix has. With the programm below I have 1000 times "Je suis le fils" and then 1 times "Je suis le pere" or the reverse sometimes. Under my