This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Good Luck.

Mike


-- 
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
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]