From owner-freebsd-threads@FreeBSD.ORG Fri Apr 30 08:48:14 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1ED0616A4CF for ; Fri, 30 Apr 2004 08:48:14 -0700 (PDT) Received: from rms04.rommon.net (rms04.rommon.net [212.54.2.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6E6743D5A for ; Fri, 30 Apr 2004 08:48:12 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from he.iki.fi (h91.vuokselantie10.fi [193.64.42.145]) by rms04.rommon.net (8.12.10/8.12.9) with ESMTP id i3UFmAmo016062 for ; Fri, 30 Apr 2004 18:48:10 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <40927537.6070405@he.iki.fi> Date: Fri, 30 Apr 2004 18:48:07 +0300 From: Petri Helenius User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-threads@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: system priorities X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 15:48:14 -0000 Am I correct in the observation that threads inherit their scheduling priority (nice and rtprio) from the first "main" thread in the process instead of the parent thread? I´m creating a few system scope threads from a rtprio main process and then dropping rtprio in the created threads and then creating more threads from them which seem to get rtprio from somewhere. Is there a specification reference on this and if not, would it make more sense to inherit them from the parent thread? Pete