Date: Tue, 29 Feb 2000 20:55:39 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: Mike Neuman <mcn@EnGarde.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Pthreads spanning processors? Message-ID: <20000229205538.M21720@fw.wintelcom.net> In-Reply-To: <NDBBLOHDILHGMPFBDKFAIELFCDAA.mcn@engarde.com>; from mcn@EnGarde.com on Tue, Feb 29, 2000 at 09:22:29PM -0700 References: <NDBBLOHDILHGMPFBDKFAIELFCDAA.mcn@engarde.com>
index | next in thread | previous in thread | raw e-mail
* Mike Neuman <mcn@EnGarde.com> [000229 20:53] wrote: > Is it possible for pthreads to span multiple processors? In other words, > if I wrote a program with producer and consumers threads, will they run on > the SAME processor simply because they're part of the same underlying > process? > > If so, what are my options for avoiding this problem? Is separate > processes using IPC or a large shared memory segment the best approach? > > Thanks! (Please CC me on any responses) You may want to investigate the linuxthreads port in /usr/ports/devel/linuxthreads/, however there are bugs in it when you start to cancel threads, I'm pretty sure this is the fault of the library, not FreeBSD. Or you can use multiple processes. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the messagehelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000229205538.M21720>
