Email List: Xaustin-group-lX
[All Lists]

[1003.1(2008)/Issue 7 0000070]: pthread_mutex_init() stds update

To: austin-group-l@xxxxxxxxxxxxx
Subject: [1003.1(2008)/Issue 7 0000070]: pthread_mutex_init() stds update
From: Austin Group Bug Tracker <noreply@xxxxxxxxxxxxx>
Date: Fri, 26 Jun 2009 15:56:35 -0700
Keywords: [1003.1(2008)/Issue 7] System Interfaces
The following issue has been SUBMITTED. 
====================================================================== 
http://austingroupbugs.net/view.php?id=70 
====================================================================== 
Reported By:                msbrown
Assigned To:                ajosey
====================================================================== 
Project:                    1003.1(2008)/Issue 7
Issue ID:                   70
Category:                   System Interfaces
Type:                       Error
Severity:                   Comment
Priority:                   normal
Status:                     Under Review
Name:                       Mark Brown 
Organization:               IBM 
User Reference:              
Section:                    pthread_mutex_init 
Page Number:                1628 
Line Number:                52378 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2009-06-26 15:56 MST
Last Modified:              2009-06-26 15:56 MST
====================================================================== 
Summary:                    pthread_mutex_init() stds update
Description: 
_____________________________________________________________________________
 COMMENT                                          Enhancement Request
Number 8
 nick:xxxxxxxxxx                  Bug in XSHd5.1 pthread_mutex_init (rdvk#
 2)
 {nms-static-pthread}                    Wed, 17 Sep 2008 19:48:52 +0100
(BST)

_____________________________________________________________________________

The current requirements for pthread_mutex_init() were developed at a
 time when the C standard in force was C89, and as a result restrict
 initialization of mutex objects via the initializer
 PTHREAD_MUTEX_INITIALIZER to statically allocated objects only.

 C99 now permits structure copying, thus allowing
 PTHREAD_MUTEX_INITIALIZER to be used at other times.

 (Note, this aardvark is an action arising from the recent
 P1003.27 POSIX-C++ WG meeting, and is also relevant to the
 ISO C++ standard in development).
Desired Action: 
At line 52378, delete the words "that are statically allocated".
======================================================================

<Prev in Thread] Current Thread [Next in Thread>