From owner-freebsd-hackers@FreeBSD.ORG Thu May 22 09:19:53 2003 Return-Path: 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 338C037B401 for ; Thu, 22 May 2003 09:19:53 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 983F543F85 for ; Thu, 22 May 2003 09:19:52 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38ldva3.dialup.mindspring.com ([209.86.253.67] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19Isn5-0004xd-00; Thu, 22 May 2003 09:19:40 -0700 Message-ID: <3ECCF855.6A0E8830@mindspring.com> Date: Thu, 22 May 2003 09:18:29 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dan Nelson References: <20030522042922.GC13024@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4645a37d7fa0594f8493b4dc7a347b8303ca473d225a0f487350badd9bab72f9c350badd9bab72f9c cc: freebsd-hackers@freebsd.org cc: Daniel Eischen cc: Julian Elischer Subject: Re: libkse and SMP (was Re: USB bulk read & pthreads) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 16:19:53 -0000 Dan Nelson wrote: > In the last episode (May 21), Daniel Eischen said: > > FYI, libpthread is now being installed (for x86 archs) by default > > in -current and will be in 5.1-release. It's currently installed > > as libkse (use -lkse, not -pthread) and will be changed to libpthread > > (-lpthread) for 5.2-release. > > I've not had luck with either libkse or libthr on my SMP machine. The > apps either hang or the system locks hard (can't even break into DDB > from serial console). Are you just concentrating on UP first, or > should libkse work on SMP too? The last time I tried was the end of > April. Make sure you use SCHED_4BSD, rather than SCHED_ULE, if you are using one of the kernel threads libraries, for now. You really should read the -current archives before attempting any of this, if you don't follow -current closely enough to have caught Jeff's message on this, or which kernel threading libraries are available. -- Terry