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: Wed, 1 Jul 2009 13:59:53 +0000
Keywords: [1003.1(2008)/Issue 7] System Interfaces
The following issue has been UPDATED. 
====================================================================== 
http://austingroupbugs.net/view.php?id=70 
====================================================================== 
Reported By:                nick
Assigned To:                ajosey
====================================================================== 
Project:                    1003.1(2008)/Issue 7
Issue ID:                   70
Category:                   System Interfaces
Type:                       Error
Severity:                   Comment
Priority:                   normal
Status:                     Resolved
Name:                       Nick Stoughton 
Organization:                
User Reference:              
Section:                    pthread_mutex_init 
Page Number:                1628 
Line Number:                52378 
Final Accepted Text:        http://austingroupbugs.net/view.php?id=70#c127 
Resolution:                 Accepted As Marked
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-26 15:56 UTC
Last Modified:              2009-07-01 13:59 UTC
====================================================================== 
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".
====================================================================== 

---------------------------------------------------------------------- 
 (0000127) msbrown (manager) - 2009-06-26 15:57
 http://austingroupbugs.net/view.php?id=70#c127 
---------------------------------------------------------------------- 
We accepted the proposed change and in addition the following changes
need to be applied:

Draft 5.1R
XSH:
Delete "that are statically allocated" on p1582 line 50881
Delete "that are statically allocated" on  p1671, lines 53705

XRAT:
Delete "statically allocated" on page 3576 line 121175

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