This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [non-stop] 08/10 linux native support


On Tue, Jul 08, 2008 at 08:25:36PM -0700, Michael Snyder wrote:
> Fork is undefined in a multi-threaded program.

According to what?  Not POSIX - otherwise there wouldn't be
pthread_atfork.

I think even vfork is valid in multithreaded programs; in any case, it
behaves sensibly with NPTL.

-- 
Daniel Jacobowitz
CodeSourcery


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