The following issue has been SUBMITTED. 
====================================================================== 
http://austingroupbugs.net/view.php?id=1291 
====================================================================== 
Reported By:                joelsherrill
Assigned To:                
====================================================================== 
Project:                    1003.1(2016)/Issue7+TC2
Issue ID:                   1291
Category:                   Base Definitions and Headers
Type:                       Enhancement Request
Severity:                   Comment
Priority:                   normal
Status:                     New
Name:                       Joel Sherrill 
Organization:               RTEMS.org 
User Reference:              
Section:                    pthread.h 
Page Number:                NA - addition request 
Line Number:                NA - addition request 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2019-09-27 19:36 UTC
Last Modified:              2019-09-27 19:36 UTC
====================================================================== 
Summary:                    Add method to obtain pthread attributes
Description: 
This is a commonly added pthread capability but there is little agreement
on the API name.

https://musl.openwall.narkive.com/dD88I7eH/pthread-getattr-np provides this
list of API names for this capability in the context of discussing how to
get the current stack information:

glibc: pthread_getattr_np
freebsd: pthread_attr_get_np
netbsd: pthread_attr_get_np and pthread_getattr_np

RTEMS follows glibc/linux with pthread_getattr_np.


If this capability is provided, then the current stack information can also
be obtained.

The naming pattern pthread_[sg]attr_* is used to modify the pthread_attr_t
structure used in a pthread_create() call. The Linux name of
pthread_attr_get() seems like a choice which is an easy name and wouldn't
be confused.
Desired Action: 
Add pthread_attr_get() API.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2019-09-27 19:36 joelsherrill   New Issue                                    
2019-09-27 19:36 joelsherrill   Name                      => Joel Sherrill   
2019-09-27 19:36 joelsherrill   Organization              => RTEMS.org       
2019-09-27 19:36 joelsherrill   Section                   => pthread.h       
2019-09-27 19:36 joelsherrill   Page Number               => NA - addition
request
2019-09-27 19:36 joelsherrill   Line Number               => NA - addition
request
======================================================================


Reply via email to