Re: vfork/execve programming trouble

2003-01-11 Thread rmkml
Hi, Do you have the same pbs, or can't you reproduce the same blocking ? In my program, I use execve, In your program, you use execv, Do you think can make a difference ? Why do you catch a SIGCHLD in sig_thread too waitpid, and you waitpid too in exec_thread ? Why do you use waitpid twice ?

vfork/execve programming trouble

2003-01-03 Thread rmkml
Hi, I've a problem with a C program: This is a multithread client/server; there are 3 mains threads functions: - one to receive signals (pthread_setmask() SIGQUIT, HUP, ALRM, sigwait()...) - one to proceed tasks (pthread_cond_wait in an infinite loop) - one to accept tcp cnx (listen, accept, fgets