From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bc2e729aa104b5d,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-08-24 03:50:50 PST Path: bga.com!news.sprintlink.net!hookup!usc!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!uunet!psinntp!hk.super.net!hk.super.net!not-for-mail From: lijewski@HK.Super.NET (Mr Mike James Lijewski) Newsgroups: comp.unix.osf.osf1 Subject: mutexes not unlocked when thread exits Date: 24 Aug 1994 17:47:01 +0800 Organization: Hong Kong SuperNet Message-ID: <33f4ul$sd@hk.super.net> NNTP-Posting-Host: 202.14.67.4 I've determined via experimantation that if a thread exits with a lock on a mutex, that lock is not released; i.e. the mutex remains locked even though the thread that most recently locked it no longer exists. This is under DEC OSF/1 V2.0 and V3.0. This runs counter to my intuition. Does the POSIX Pthreads Draft have anything to say about this? Is there anyway out of this dilemma?