From owner-freebsd-arch Sun Oct 31 20:53:32 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 6EE5C15204 for ; Sun, 31 Oct 1999 20:53:29 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id FAA03155 for ; Mon, 1 Nov 1999 05:53:29 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id FAA70786 for freebsd-arch@freebsd.org; Mon, 1 Nov 1999 05:53:29 +0100 (MET) Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 2813714CAA for ; Sun, 31 Oct 1999 20:53:23 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id XAA27063; Sun, 31 Oct 1999 23:52:08 -0500 (EST) Date: Sun, 31 Oct 1999 23:52:08 -0500 (EST) From: Daniel Eischen Message-Id: <199911010452.XAA27063@pcnet1.pcnet.com> To: eischen@vigrid.com, nate@mt.sri.com Subject: Re: Threads goals version II Cc: freebsd-arch@freebsd.org, julian@whistle.com Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Multiple processes/LWPs should be allowed to have their own quantum and > > not count towards the [parent] process quantum, right? > > As I read that, no. A multi-threaded process shouldn't be given any > more 'resources' than a single-threaded process. I differentiate between a thread created with PTHREAD_SCOPE_SYSTEM and PTHREAD_SCOPE_PROCESS. A thread with scope system contends for resources with all other threads in the same scheduling allocation domain relative to their system scheduling attributes...[POSIX standard]. I'd like to map PTHREAD_SCOPE_SYSTEM to the equivalent of an rfork. Dan Eishen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message