From owner-freebsd-current Fri Jul 6 17:14:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 6294A37B403; Fri, 6 Jul 2001 17:14:22 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id UAA26581; Fri, 6 Jul 2001 20:13:30 -0400 (EDT) Date: Fri, 6 Jul 2001 20:13:29 -0400 (EDT) From: Daniel Eischen To: Julian Elischer Cc: John Baldwin , current@FreeBSD.ORG, Jason Evans , Peter Wemm Subject: Re: RFC: Kernel thread system nomenclature. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 6 Jul 2001, Julian Elischer wrote: > On Fri, 6 Jul 2001, John Baldwin wrote: > > One other note. #2 is conceptually a related group of #4's, so I think it's > > name should reflect that. (It's view as a group of #4's is more important than > > as being a part of #1.) So, if you go with lwp (yuck) for #4, #2 should be > > lwpgrp or some such. I still think lwp's overloaded nomenclature is a reason > > to stay away from it. *shrug* > > > As peter pointe out, NetBSD use lwp as a combination of #3 and #4 > (in fact they are mostly #4.. as they include a kernel stack I think) > (hmm need to look at their definitions again).... > > I think that an lwp can block. That makes it #4 definitly. > unless we call the 'threads' ? > > that would give: > #1 proc > #2 threadclass > #3 ??? (thread carrier (spindle? :-)) or thread-processor > #4 thread > > the 'thread' is a path through code combined with a context. > it proceeds along this path when loaded into a thread-processor > or an "execution-slot" or whatever we want to call #3. > (i.e. it's scheduled). I think #3 should be thread and #4 should be thread context (and #2 should be thread [scheduling] group). ->thrgrp-> ->thr-> ->thrctx-> -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message