From owner-freebsd-arch Thu Nov 22 14: 0:21 2001 Delivered-To: freebsd-arch@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 3329437B405; Thu, 22 Nov 2001 14:00:19 -0800 (PST) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id NAA44772; Thu, 22 Nov 2001 13:58:11 -0800 (PST) Date: Thu, 22 Nov 2001 13:58:08 -0800 (PST) From: Julian Elischer To: Mike Smith Cc: John Baldwin , Steve Kargl , arch@FreeBSD.org Subject: Re: Kernel Thread scheduler In-Reply-To: <200111221142.fAMBgvh11425@mass.dis.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a valid point.. should I change the name in the next round a bit? and if so what to? I don't really want "k_thread", any more than I would think of changing proc to k_proc.. Theoretically a user program shouldn't even know about proc and thread.. what is there in proc.h that a user program needs? On Thu, 22 Nov 2001, Mike Smith wrote: > > > > Perhaps if 'proc' is put under _KERNEL. Since proc embeds a kse, ksegroup, > > and thread, it can't very easily be defined w/o including those definitions. > > #ifdef _KERNEL > #define PROC_THREAD struct thread > #else > #define PROC_THREAD void > #endif > > > PROC_THREAD *p_thread; > > etc. You get my drift. > > Exposing something called "struct thread" is just stupid, guys. You > ought to know better than this by know; at the very least it should have > been k_thread. > > -- > ... every activity meets with opposition, everyone who acts has his > rivals and unfortunately opponents also. But not because people want > to be opponents, rather because the tasks and relationships force > people to take different points of view. [Dr. Fritz Todt] > V I C T O R Y N O T V E N G E A N C E > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message