Date: Fri, 19 Jul 2002 13:07:08 -0500 From: vcardon <vcardon@siue.edu> To: Jo?o Esteves <jesteves@criticalsoftware.com> Cc: questions@FreeBSD.ORG Subject: Re: pthreads implementation is FreeBSD Message-ID: <20020719180708.GA24632@spastic.siue.edu> In-Reply-To: <000801c22f4a$9f201340$2d03a8c0@CRITICAL.PT> References: <000801c22f4a$9f201340$2d03a8c0@CRITICAL.PT>
next in thread | previous in thread | raw e-mail | index | archive | help
--Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 19, 2002 at 06:35:05PM +0100, Jo?o Esteves wrote: > My first question is; does FreeBSD implements a thread as a process(like Linux and other ystems) or it supports threads in a native way? Actually Linux uses kernel threads that mimic processes. Linux uses the same mechanism to create processes and threads, but threads are not really processes in the strictest sense. > My second question is; all the BSD family uses the same approach to the thread implementation? I only know about FreeBSD. It uses userland threads. Userland threads are faster to create, because you never cross into kernel space, but they do add some complications. Victor --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9OFVMZU/bSegbOhwRAsyYAKCV92OYQoJ4hzRkP3hipn4y5utWkgCfRT9n pZbtdJZMoDPgLrjKDdnHhm0= =UEXm -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020719180708.GA24632>