From owner-freebsd-threads@FreeBSD.ORG Mon Mar 1 21:21:47 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BFD816A4CE for ; Mon, 1 Mar 2004 21:21:47 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 685F443D2D for ; Mon, 1 Mar 2004 21:21:46 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-165.dsl.onthenet.net [203.144.30.165]) i225LiZG082325 for ; Tue, 2 Mar 2004 15:21:45 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40441A7E.7000805@freebsd.org> Date: Tue, 02 Mar 2004 15:24:14 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-threads@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: threads stress test X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 05:21:47 -0000 I've been using the ping-pong test program described in: http://wwws.sun.com/software/whitepapers/solaris9/multithread.pdf to test out Suleiman Souhal's PPC libthr patches. I just took out sledge (AMD64) with this when linking against libpthread and running with '-v -i 10000'. Not sure if it happens on i386, but maybe KSE developers might want to give it a try. Source is at: http://www.freebsd.org/~grehan/pp.c WRT libthr, ctl-C from the shell doesn't seem to get through when running this program (verified on panther/sparc64), although libpthread does the right thing. Oops, just took out panther when running with libthr after doing some libpthread testing. Definitely worth a try ! later, Peter.