View Issue Details

IDProjectCategoryView StatusLast Update
00000921003.1(2008)/Issue 7System Interfacespublic2013-04-16 13:06
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionpthread_mutex_lock
Page Number1639
Line Number52741
Interp StatusApproved
Final Accepted Text0000092:0000184
Summary0000092: pthread_mutex_lock return
Description _____________________________________________________________________________
 OBJECTION Enhancement Request Number 22
 gwc:xxxxxxxxxxxxx Defect in XSH pthread_mutex_lock (rdvk# 3)
 [gwc pmtl return] Fri, 9 Jan 2009 15:53:20 +0000
 _____________________________________________________________________________

The RETURN VALUE section on the pthread_mutex_lock() page states:

     "The pthread_mutex_trylock() function shall return zero if a lock
     on the mutex object referenced by mutex is acquired. Otherwise, an
     error number is returned to indicate the error."

 This conflicts with the description of the EOWNERDEAD error for
 pthread_mutex_trylock() which says "The mutex lock shall be acquired
 by the calling thread".
Desired ActionOn line 52739 (1st line of RETURN VALUE) change

     "pthread_mutex_lock() and pthread_mutex_unlock()"

 to

     "pthread_mutex_lock(), pthread_mutex_trylock() and pthread_mutex_unlock()"

 Delete lines 52741-52742 (2nd para of RETURN VALUE).
Tagstc1-2008

Activities

ajosey

2009-08-06 16:07

manager   bugnote:0000184

Last edited: 2009-10-12 05:47

Interpretation response
------------------------
The standard is unclear on this issue, and no conformance
distinction can be made between alternative implementations based
on this. This is being referred to the sponsor.

Rationale:
-------------
None.

Notes to the Editor (not part of this interpretation):
-------------------------------------------------------

Make the change suggested by the submitter

Issue History

Date Modified Username Field Change
2009-06-29 19:59 msbrown New Issue
2009-06-29 19:59 msbrown Status New => Under Review
2009-06-29 19:59 msbrown Assigned To => ajosey
2009-06-29 19:59 msbrown Name => Mark Brown
2009-06-29 19:59 msbrown Organization => IBM
2009-06-29 19:59 msbrown Section => pthread_mutex_lock
2009-06-29 19:59 msbrown Page Number => 1639
2009-06-29 19:59 msbrown Line Number => 52741
2009-06-29 19:59 msbrown Status Under Review => Resolved
2009-06-29 19:59 msbrown Resolution Open => Accepted
2009-07-01 17:57 Don Cragun Name Mark Brown => Geoff Clare
2009-07-01 17:57 Don Cragun Organization IBM => The Open Group
2009-07-01 17:57 Don Cragun Reporter msbrown => geoffclare
2009-08-06 16:07 ajosey Note Added: 0000184
2009-08-06 16:07 ajosey Status Resolved => Interpretation Required
2009-08-11 16:38 Don Cragun Interp Status => Pending
2009-09-17 15:41 nick Interp Status Pending => Proposed
2009-10-12 05:47 ajosey Note Edited: 0000184
2009-10-12 05:48 ajosey Interp Status Proposed => Approved
2009-10-12 05:48 ajosey Final Accepted Text => 0000092:0000184
2010-09-20 09:27 geoffclare Tag Attached: tc1-2008
2013-04-16 13:06 ajosey Status Interpretation Required => Closed