On Mon, 6 Mar 2006 11:37:21 +0100
Melchior FRANZ <[EMAIL PROTECTED]> wrote:

> * Jean-Yves Lefort -- Monday 06 March 2006 11:28:
> > pthread_cancel() does cause the thread to exit, but the C++
> > destructors are not invoked. The SGGuard destructor can therefore
> > not unlock the mutex. 
> 
> Which destructor is not invoked (apart from the SGGuard one)?
> ~FGEnvironmentCtrl()? That would be very strange. Are you sure
> you have SimGear CVS/HEAD? No sticky tags/dates or something?
> Especially on simgear/structure/subsystem_mgr.cxx, where 
> SGSubsystemGroup::Member::~Member() (line 227) didn't delete
> the subsystem in past version, but now does.

The C++ stack of the cancelled thread is not unrolled. See
http://www.slamb.org/projects/cancellation_tests/

-- 
Jean-Yves Lefort

[EMAIL PROTECTED]
http://lefort.be.eu.org/

Attachment: pgpQEMCJKnPZ9.pgp
Description: PGP signature

Reply via email to