This is the mail archive of the
mailing list for the Cygwin project.
Re: Usage of _exit(0) closes fd's of parent process
I'm just taking a wild stab at this, but maybe the fork isn't working like
you think it should. I know that when I use pthreads you have to specify
exactly how you expect it to split off and close.
I've heard of this type of behavior before and it all came down to how that
thread was spawned off originally. Because it wasn't spawned properly, it
wasn't able to clean up right.
View this message in context: http://old.nabble.com/Usage-of-_exit%280%29-closes-fd%27s-of-parent-process-tp28206735p28233404.html
Sent from the Cygwin list mailing list archive at Nabble.com.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple