From owner-freebsd-current@FreeBSD.ORG Wed Dec 10 06:50:39 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C9116A4CE for ; Wed, 10 Dec 2003 06:50:39 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D40BC43D33 for ; Wed, 10 Dec 2003 06:50:37 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id hBAEobml014269; Wed, 10 Dec 2003 09:50:37 -0500 (EST) Date: Wed, 10 Dec 2003 09:50:37 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Craig Boston In-Reply-To: <200312100822.19428.craig@xfoil.gank.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: nss and pthreads and wine, oh my! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 14:50:39 -0000 On Wed, 10 Dec 2003, Craig Boston wrote: > On Tuesday 09 December 2003 11:39 pm, Daniel Eischen wrote: > > I am a bit confused though, because I would think nsdispatch works > > for other cases and don't know why it isn't for wine. > > Not a clue there... nsdispatch seems to work fine in every other > single-threaded process without a hitch. The only thing I can think of that > wine does differently is use its own LDTs, but that's a stab in the dark. > > > What thread library are you using? > > I'm using plain old libc_r. I'll try libthr and kse and see if there is any > difference. One other thing. When you are building wine, can you search its sources for ldt_keeper.c or something like that? It may need a patch to work with libthr and libkse. You can see similar patches for mplayer and libxine which both have an ldt_keeper.c with comments saying it is taken from wine. -- Dan