From owner-freebsd-doc Tue May 7 11:50:11 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8CBC137B409 for ; Tue, 7 May 2002 11:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g47Io3b28505; Tue, 7 May 2002 11:50:03 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (nwww.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 5311337B404 for ; Tue, 7 May 2002 11:48:01 -0700 (PDT) Received: from nwww.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g47InShG051159 for ; Tue, 7 May 2002 11:49:28 -0700 (PDT) (envelope-from nobody@nwww.freebsd.org) Received: (from nobody@localhost) by nwww.freebsd.org (8.12.2/8.12.2/Submit) id g47InSdl051158; Tue, 7 May 2002 11:49:28 -0700 (PDT) Message-Id: <200205071849.g47InSdl051158@nwww.freebsd.org> Date: Tue, 7 May 2002 11:49:28 -0700 (PDT) From: Morten Rodal To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: docs/37843: manual for pthread_setschedparam is wrong Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37843 >Category: docs >Synopsis: manual for pthread_setschedparam is wrong >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue May 07 11:50:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Morten Rodal >Release: 4.5-STABLE >Organization: >Environment: FreeBSD slurp.rodal.no 4.5-STABLE FreeBSD 4.5-STABLE #5: Wed Apr 3 22:59:11 CEST 2002 root@slurp.rodal.no:/usr/obj/usr/src/sys/slurp i386 >Description: The manual for pthread_setschedparam points to two defined (PTHREAD_MIN_PRIORITY and PTHREAD_MAX_PRIORITY) which are not defined in pthread.h. These are only defined in pthread_private.h and thus cannot be used when only including pthread.h. >How-To-Repeat: Try to use PTHREAD_{MIN,MAX}_PRIORITY in any program and you'll get an error saying it is undecleared. >Fix: Either fix the documentation or add the PTHREAD_{MIN,MAX}_PRIORITY to pthread.h >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message