Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2001 03:42:57 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Steve Kargl <sgk@troutmask.apl.washington.edu>, arch@FreeBSD.org, Julian Elischer <julian@elischer.org>
Subject:   Re: Kernel Thread scheduler 
Message-ID:  <200111221142.fAMBgvh11425@mass.dis.org>
In-Reply-To: Your message of "Wed, 21 Nov 2001 23:22:09 PST." <XFMail.011121232209.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111221142.fAMBgvh11425>