Mail Archives: cygwin-developers/2002/09/20/08:55:59
--=-Yt3lLNLoVXiZruOIXvYl
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Fri, 2002-09-20 at 17:42, Thomas Pfaff wrote:
>=20
>=20
> On Fri, 20 Sep 2002, Robert Collins wrote:
>=20
> > On Fri, 2002-09-20 at 15:32, Christopher Faylor wrote:
> > > Robert,
> > > Your recent change:
> > > 2002-09-11 Robert Collins <rbtcollins AT hotmail DOT com>
> > >
> > > * init.cc (dll_entry): On thread detach, if the thread hasn't
> > > exit()ed, do so.
> > >
> > > doesn't look right. The code invokes pthread::exit which can block
> > > waiting on a mutex, it seems.
> >
> > Ok, will correct this weekend.
> >
>=20
> You may have a look at my pthread patch part 4 that shows how i
> have implemented cleanup after thread termination.
Ok, so this effectively calls pthread::~pthread, which closes the win32
objects, but does not set exit values etc.
Hmm, I need to look more closely.
lets try and get your patches in, rather than reinvent something.
Rob
--=-Yt3lLNLoVXiZruOIXvYl
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQA9ixr5I5+kQ8LJcoIRAlZ9AKCkgYPQgHwADqb9mqYssqON/YgLHQCeLNgk
sfPbZeWNVsHG4DSA1Wgq0JI=
=Qm3k
-----END PGP SIGNATURE-----
--=-Yt3lLNLoVXiZruOIXvYl--
- Raw text -