NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/41831: pthread library functions pthread_attr_getscope and pthread_attr_setscope has no manual.



>Number:         41831
>Category:       lib
>Synopsis:       pthread library functions pthread_attr_getscope and 
>pthread_attr_setscope has no manual.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 06 13:45:00 +0000 2009
>Originator:     Wolfgang Stukenbrock
>Release:        NetBSD 5.0
>Organization:
Dr. Nagler & Company
        
>Environment:
        
        
System: NetBSD s012 4.0 NetBSD 4.0 (NSW-S012) #9: Fri Mar 13 12:31:52 CET 2009 
wgstuken@s012:/usr/src/sys/arch/amd64/compile/NSW-S012 amd64
Architecture: x86_64
Machine: amd64
>Description:
        The functions pthread_attr_getscope() and pthread_attr_setscope() are 
defined in the headerfile and supported by libpthread,
        but they are missing in the manuals.
        Even if the flag value that they maintain, there should be a manual for 
them.
        Some manual fragments seems to be in the pthread_attr.3 manual, but 
they are commented out.
        The interesting question why I've started searching for it is the 
behaviour - including the default setup for this flag.
        It looks to me like that all threads are mapped to lwp's and so are of 
SCOPE_SYSTEM, but it should be stated somewhere.
>How-To-Repeat:
        Try to find a manual for theese function - you will be out of luck.
>Fix:
        Add the missing manual-parts to pthread_attr.3 manual.
        I cannot give you a patch here, because I don't know the exact 
behaviour of the threads in NetBSD - sorry.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index