This is the mail archive of the cygwin-patches@cygwin.com 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: [PATCH] Reset threadcount after fork



On Mon, 23 Sep 2002, Robert Collins wrote:

> On Mon, 2002-09-23 at 22:36, Thomas Pfaff wrote:
> >
> > 2002-09-23  Thomas Pfaff  <tpfaff@gmx.net>
> >
> > 	* thread.cc (MTinterface::fixup_after_fork): Reset threadcount to
> > 	1 after fork.
>
> Why do we need this? MTinterface::Init is also called after fork, and
> sets threadcount to 1.

Ignore it.

This patch is part of an update to MTinterface that should fix some fork
related issues, especially when fork is called from a thread other than
the mainthread.

Thomas


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