From owner-freebsd-threads@FreeBSD.ORG Tue Jul 1 02:43:40 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 C820F37B478; Tue, 1 Jul 2003 02:43:34 -0700 (PDT) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF83C44025; Tue, 1 Jul 2003 02:43:30 -0700 (PDT) (envelope-from davidxu@viatech.com.cn) Received: from davidw2k (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id M4G4DVMR; Tue, 1 Jul 2003 17:27:28 +0800 Message-ID: <000b01c33fb5$a9fbd570$f001a8c0@davidw2k> From: "David Xu" To: "Petri Helenius" , References: <007601c33fb2$6c5d2c80$f9d7473e@PETEX31> Date: Tue, 1 Jul 2003 17:46:36 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 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 09:43:40 -0000 ----- Original Message -----=20 From: "Petri Helenius" To: ; "David Xu" Cc: Sent: Tuesday, July 01, 2003 5:21 PM Subject: Re: rtprio and kse >=20 > > It is legitimate to want a single (or set) of threads to > > have real-time priority and not the others. Since the > > priority is in the KSEG, this is possible to do without > > fork()ing. > >=20 > > Dan Eischen > >=20 > So to summarize, in order to achieve rtprio for one of the ~dozen = threads > in the process, winthout affecting the rest of the threads in the same = process, > set PTHREAD_SCOPE_SYSTEM when creating the thread > and ask for rtprio in the thread after it has started? >=20 Yes, quite right. :-) > Pete > =20 > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to = "freebsd-threads-unsubscribe@freebsd.org" >=20