From owner-freebsd-current Sun Oct 15 6:15:23 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id B0D2637B66D for ; Sun, 15 Oct 2000 06:15:20 -0700 (PDT) Received: (qmail 20321 invoked by uid 0); 15 Oct 2000 13:15:19 -0000 Received: from p3ee21669.dip.t-dialin.net (HELO speedy.gsinet) (62.226.22.105) by mail.gmx.net with SMTP; 15 Oct 2000 13:15:19 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id MAA31385 for current@freebsd.org; Sun, 15 Oct 2000 12:39:13 +0200 Date: Sun, 15 Oct 2000 12:39:13 +0200 From: Gerhard Sittig To: current@freebsd.org Subject: Re: Recent thread changes Message-ID: <20001015123913.A25237@speedy.gsinet> Mail-Followup-To: current@freebsd.org References: <200010142000.e9EK0hn47439@vashon.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from eischen@vigrid.com on Sun, Oct 15, 2000 at 12:20:11AM -0400 Organization: System Defenestrators Inc. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Oct 15, 2000 at 00:20 -0400, Daniel Eischen wrote: > On Sat, 14 Oct 2000 jdp@polstra.com wrote: > > > (6) If a thread whose policy or priority has been modified is > > a running thread or is runnable, runnable thread [sic] it then > > becomes the tail of the thread list for its new priority. > > Unless it holds a priority protection or inheritence mutex, in > which case it gets added to the head of the thread list for its > new priority. This case is often forgotten (see 13.6.1.2). Is this what was discussed some time ago as a DoS mechanism for Windows apps? Talk was about "calling setprio() in your running time slice will make you run again right away and starve anyone else" so it turned out to look like some modern kind of cooperative multitasking where one doesn't have to grant resources to others if one doesn't feel like it? Something good to have if you feel like getting all the CPU cycles ... virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message