From owner-freebsd-threads@FreeBSD.ORG Thu Apr 15 18:29:03 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 57B8016A4CE for ; Thu, 15 Apr 2004 18:29:03 -0700 (PDT) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E85543D53 for ; Thu, 15 Apr 2004 18:29:01 -0700 (PDT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=ganbold.micom.mng.net) by publicd.ub.mng.net with asmtp (Exim 4.30; FreeBSD) id 1BEJ26-000A1E-VS; Fri, 16 Apr 2004 10:24:47 +0800 Message-Id: <6.0.3.0.2.20040416103300.02b01860@202.179.0.80> X-Sender: ganbold@micom.mng.net@202.179.0.80 X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Fri, 16 Apr 2004 10:33:51 +0900 To: Alexander Leidinger From: Ganbold In-Reply-To: <20040415120254.4318c248@Magellan.Leidinger.net> References: <6.0.3.0.2.20040415145916.02ae6708@202.179.0.80> <6.0.3.0.2.20040415152523.02ad4b10@202.179.0.80> <20040415105559.7fe9929b@Magellan.Leidinger.net> <6.0.3.0.2.20040415180553.02adc870@202.179.0.80> <20040415120254.4318c248@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: threads@freebsd.org Subject: Re: FBSD 5.2.CURRENT-p4 and mysqld problems 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: Fri, 16 Apr 2004 01:29:03 -0000 How do I know what threading library is using at the moment? Is there any command? tia, Ganbold At 07:02 PM 15.04.2004, you wrote: >On Thu, 15 Apr 2004 18:07:55 +0900 >Ganbold wrote: > > > > > Is there any trick compiling mysql with libpthread? Without any > trick it > > > > just hangs. > > > > > >This may be a bug. Please rebuild without BUILD_STATIC and use > > >libmap.conf to try all 3 thread libs (libc_r, libpthread and libthr). If > > >only libpthread shows this behavior, it may be a bug in libpthread. > > > > I will try libmap.conf to map between threads. Is there any special option > > should I compile in kernel in order to use libmap.conf? > >No. > >Use >---snip--- >libpthread.so.1 libc_r.so.5 >libpthread.so libc_r.so >---snip--- >to globally map libpthread to libc_r. > >Use >---snip--- >libpthread.so.1 libthr.so.1 >libpthread.so libthr.so >---snip--- >to globally map to libthr. > > >Bye, >Alexander. > >-- > I'm available to get hired. > >http://www.Leidinger.net Alexander @ Leidinger.net > GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7