From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 20:18:06 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1098616A40F for ; Fri, 8 Sep 2006 20:18:06 +0000 (UTC) (envelope-from John.Giacomoni@colorado.edu) Received: from serl.cs.colorado.edu (serl.cs.colorado.edu [128.138.207.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCEE843D45 for ; Fri, 8 Sep 2006 20:18:05 +0000 (GMT) (envelope-from John.Giacomoni@colorado.edu) Received: from [IPv6???1] (localhost [127.0.0.1]) by serl.cs.colorado.edu (Postfix) with ESMTP id 87B1B9335CE for ; Fri, 8 Sep 2006 14:18:01 -0600 (MDT) Mime-Version: 1.0 (Apple Message framework v752.2) To: freebsd-hackers@freebsd.org Message-Id: <57213DB3-3D5A-4B11-AB29-5696DC4B3AC2@colorado.edu> Content-Type: multipart/mixed; boundary=Apple-Mail-5--949142540 From: John Giacomoni Date: Fri, 8 Sep 2006 14:18:03 -0600 X-Mailer: Apple Mail (2.752.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: pin/bind a pthread to a processor? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 20:18:06 -0000 --Apple-Mail-5--949142540 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Is it possible to bind a pthread to a processor in 5.5 or 6.1? I currently have a code base that uses libpthread with multiple threads, mutexes and condition variables. The problem I'm having is that I seem to be suffering wall-clock timing aberrations that I believe are introduced by the scheduler. Thanks, John G -- John.Giacomoni@colorado.edu University of Colorado at Boulder Department of Computer Science Engineering Center, ECCR 1B50 430 UCB Boulder, CO 80303-0430 USA --Apple-Mail-5--949142540 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed --Apple-Mail-5--949142540--