From owner-freebsd-questions Tue Feb 29 20:22: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from source.EnGarde.com (source.EnGarde.com [199.165.219.1]) by hub.freebsd.org (Postfix) with ESMTP id A3C2937BDC0 for ; Tue, 29 Feb 2000 20:21:55 -0800 (PST) (envelope-from mcn@engarde.com) Received: from maison (voyager.EnGarde.com [199.165.219.195]) by source.EnGarde.com (8.9.1/8.9.1) with SMTP id VAA11213 for ; Tue, 29 Feb 2000 21:17:53 -0700 (MST) From: "Mike Neuman" To: Subject: Pthreads spanning processors? Date: Tue, 29 Feb 2000 21:22:29 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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) -Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message