From owner-freebsd-threads@FreeBSD.ORG Tue Jul 1 10:22:24 2003 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 1257E37B401 for ; Tue, 1 Jul 2003 10:22:24 -0700 (PDT) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAC1E43FF3 for ; Tue, 1 Jul 2003 10:22:22 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from PETEX31 (gprs-prointernet-3e47d418.mobile.inet.fi [62.71.212.24]) by silver.he.iki.fi (8.12.9/8.11.4) with SMTP id h61HLrsN047497; Tue, 1 Jul 2003 20:22:09 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <003101c33ff5$50fcfb80$18d4473e@PETEX31> From: "Petri Helenius" To: "Daniel Eischen" References: Date: Tue, 1 Jul 2003 19:19:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: David Xu cc: freebsd-threads@freebsd.org Subject: Re: rtprio and kse 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: Tue, 01 Jul 2003 17:22:24 -0000 > > I don't understand. Do you want all threads in the process > to be affected by rtprio()? Or are you saying there are > more than 12 threads in the process, but you only want > rtprio() to affect those 12 threads? No, just the one that calls rtprio. The rest should stay as they were. > > As I've said before, rtprio() affects the thread's calling > KSEG. Threads created with scope system each get their own > KSEG. Threads created with scope process all run in the > same KSEG. Threads never migrate between KSEGs. That's > all you need to know. Do with it what you will. > I know, though since there has been quite a few messages flying back and forth, I thought it would be a good idea to put the whole thing into one. Thanks, Pete