From nobody  Fri Jul 17 13:58:52 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id NAA20745;
          Fri, 17 Jul 1998 13:58:52 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199807172058.NAA20745@hub.freebsd.org>
Date: Fri, 17 Jul 1998 13:58:52 -0700 (PDT)
From: eddy@sequencer.wustl.edu
To: freebsd-gnats-submit@freebsd.org
Subject: pthread_attr_setscope() missing
X-Send-Pr-Version: www-1.0

>Number:         7309
>Category:       bin
>Synopsis:       pthread_attr_setscope() missing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 17 14:00:02 PDT 1998
>Closed-Date:    Mon May 17 14:23:09 PDT 1999
>Last-Modified:  Mon May 17 14:23:41 PDT 1999
>Originator:     Sean Eddy
>Release:        3.0-CURRENT (16 Jul)
>Organization:
Washington University Dept. of Genetics
>Environment:
FreeBSD wulf01.wustl.edu 3.0-CURRENT FreeBSD 3.0-CURRENT #1: Thu Jul 16 13:02:34 CDT 1998     barnhart@wulf01.wustl.edu:/usr/src/sys/compile/WULFXX  i386

>Description:
The POSIX pthread function pthread_attr_setscope() is apparently
not provided in FreeBSD. POSIX-compliant applications do not compile.
>How-To-Repeat:
Try to compile any pthreaded application that calls
pthread_attr_setscope().
>Fix:
Although POSIX does not require the OS to do anything
when pthread_attr_setscope() is called (for instance,
if kernel threads aren't supported yet), a dummy function
should at least be provided for the sake of portability
of POSIX applications.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->jb 
Responsible-Changed-By: hoek 
Responsible-Changed-When: Sat Jul 18 16:58:44 PDT 1998 
Responsible-Changed-Why:  
Classic misfiled PR.  jb does threads. 
State-Changed-From-To: open->closed 
State-Changed-By: jb 
State-Changed-When: Mon May 17 14:23:09 PDT 1999 
State-Changed-Why:  
After what must seem like an eternity, pthread_attr_setscope() is now 
part of 3.2-RELEASE. 
>Unformatted:
