Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2002 11:49:28 -0700 (PDT)
From:      Morten Rodal <morten@rodal.no>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/37843: manual for pthread_setschedparam is wrong
Message-ID:  <200205071849.g47InSdl051158@nwww.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205071849.g47InSdl051158>