From owner-freebsd-current Wed May 29 11: 1:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 982AD37B4E2 for ; Wed, 29 May 2002 11:00:16 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020529180016.PVJK13253.rwcrmhc54.attbi.com@InterJet.elischer.org>; Wed, 29 May 2002 18:00:16 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA17962; Wed, 29 May 2002 10:43:27 -0700 (PDT) Date: Wed, 29 May 2002 10:43:26 -0700 (PDT) From: Julian Elischer To: kai ouyang Cc: current@FreeBSD.org, oyk@wtwh.com.cn Subject: Re:why change: from proc to thread? 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 kthreads are not threads, but, rather, kernel processes.. they have a separate 'proc' structure. (they are badly named..) On Wed, 29 May 2002, kai ouyang wrote: > > Thank you! I know a little more. From the kthread_create() function, I > find Both 4.x and 5.0 are implemented by fork1(). I am puzzled about > the structure thread and the structure proc only are different terms. > How or what part source code can I find the difference thread > realization between 4.x and 5.0? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message