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 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

Re: alarm();pause();alarm();pause(); doesn't pause in pthread

2002-03-21 Thread Stephane Corbe
cgf wrote : > signals do not work with anything but the main thread. Sorry. > Is this a temporary behavior or will it work in the futur ? What are the other limits of non-main threads ? Has new processes created by fork the same limits ? others ? Stephane -- Unsubscribe info: http:/

dll call and fork

2002-03-13 Thread Stephane Corbe
Hello, If I fork my programm, the child died when it call a function in a DLL. (Cygwin 1.3.10-1 on NT4) void dll_call(int i) { printf("in dll_call %d\n", i); } ... printf("begin"); switch (pid=fork()) { case 0 : printf("child is alive\n");

Re: g++/static members/DLL problem

2002-03-12 Thread Stephane Corbe
Kohn Emil Dan wrote: > Hello everyone, > > I would like to report a problem with g++ static member initialization on > cygwin. I have a class in which I have a static data member. The > definition of that class resides in a DLL. That static member is > initialized in the corresponding .cpp file.

Re: sunRPC on V1.3.x

2002-03-05 Thread Stephane Corbe
I don't know if my compagny will be OK to maintain it in the futur, but now we need it. It's why we will try to debug sunRPC for the current version. Does anybody know why it doesn't work ? Any help or even an idea is welcome. Stephane Corinna Vinschen wrote: > On Fri, Mar 01, 2002 at 04:58:3