From: rsalz@osf.org (Rich Salz)
Subject: Re: mutexes not unlocked when thread exits
Date: 28 Aug 1994 16:06:45 GMT [thread overview]
Message-ID: <33qcml$pt@paperboy.osf.org> (raw)
In-Reply-To: 33f4ul$sd@hk.super.net
In <33f4ul$sd@hk.super.net> lijewski@HK.Super.NET (Mr Mike James Lijewski) writes:
>if a thread exits with a lock on
>a mutex, that lock is not released;
Correct. That's the way it's supposed to work.
>Is there anyway out of this dilemma?
You should have pthread_cleanup_push() and pthread_cleanup_pop().
/r$
prev parent reply other threads:[~1994-08-28 16:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-08-24 9:47 mutexes not unlocked when thread exits Mr Mike James Lijewski
1994-08-28 16:06 ` Rich Salz [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox