From owner-freebsd-doc@FreeBSD.ORG Wed Jan 30 02:30:01 2013 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 543FC48E for ; Wed, 30 Jan 2013 02:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 1CD9A7EA for ; Wed, 30 Jan 2013 02:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0U2U1mB083754 for ; Wed, 30 Jan 2013 02:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0U2U0Aw083749; Wed, 30 Jan 2013 02:30:00 GMT (envelope-from gnats) Resent-Date: Wed, 30 Jan 2013 02:30:00 GMT Resent-Message-Id: <201301300230.r0U2U0Aw083749@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Mikhail T." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8EBE946C for ; Wed, 30 Jan 2013 02:27:40 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3B5987DB for ; Wed, 30 Jan 2013 02:27:39 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 29 Jan 2013 21:27:34 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr16.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id CFG52862; Tue, 29 Jan 2013 21:27:33 -0500 Received: from pool-173-70-92-11.nwrknj.fios.verizon.net (HELO narawntapu.narawntapu) ([173.70.92.11]) by smtp01.lnh.mail.rcn.net with ESMTP; 29 Jan 2013 21:27:33 -0500 Received: from narawntapu.narawntapu (localhost [127.0.0.1]) by narawntapu.narawntapu (8.14.6/8.14.5) with ESMTP id r0U2ROsL093446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 29 Jan 2013 21:27:26 -0500 (EST) (envelope-from mi@narawntapu.narawntapu) Received: (from mi@localhost) by narawntapu.narawntapu (8.14.6/8.14.5/Submit) id r0U2ROdp093445; Tue, 29 Jan 2013 21:27:24 -0500 (EST) (envelope-from mi) Message-Id: <201301300227.r0U2ROdp093445@narawntapu.narawntapu> Date: Tue, 29 Jan 2013 21:27:24 -0500 (EST) From: "Mikhail T." To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: docs/175687: pthread_setschedparam(3) may fail for undocumented reason (EPERM) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 02:30:01 -0000 >Number: 175687 >Category: docs >Synopsis: pthread_setschedparam(3) may fail for undocumented reason (EPERM) >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: Wed Jan 30 02:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Mikhail T. >Release: FreeBSD 9.1-PRERELEASE amd64 >Organization: Virtual Estates, Inc. http://sybpipe.com/ >Environment: >Description: The pthread_setschedparam(3) manual page lists the following possible reasons for the function's failure: The pthread_setschedparam() function will fail if: [EINVAL] Invalid value for policy. [ENOTSUP] Invalid value for scheduling parameters. [ESRCH] Non-existent thread thread. However, the function may also fail -- with EPERM -- if an attempt is made to alter the scheduling policy of a thread. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: