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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9OFVMZU/bSegbOhwRAsyYAKCV92OYQoJ4hzRkP3hipn4y5utWkgCfRT9n pZbtdJZMoDPgLrjKDdnHhm0= =UEXm -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020719180708.GA24632>
