From owner-freebsd-stable Mon Dec 11 7:48:46 2000 From owner-freebsd-stable@FreeBSD.ORG Mon Dec 11 07:48:41 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from kci.kciLink.com (kci.kciLink.com [204.117.82.1]) by hub.freebsd.org (Postfix) with ESMTP id 5FFCE37B402 for ; Mon, 11 Dec 2000 07:48:41 -0800 (PST) Received: from yertle.kciLink.com (yertle.kciLink.com [208.184.13.195]) by kci.kciLink.com (Postfix) with ESMTP id 9A14DC98C for ; Mon, 11 Dec 2000 10:48:35 -0500 (EST) Received: from onceler.kciLink.com (onceler.kciLink.com [208.184.13.196]) by yertle.kciLink.com (Postfix) with ESMTP id 38E0C2E443 for ; Mon, 11 Dec 2000 10:48:35 -0500 (EST) Received: (from khera@localhost) by onceler.kciLink.com (8.11.1/8.11.1) id eBBFmZW47764; Mon, 11 Dec 2000 10:48:35 -0500 (EST) (envelope-from khera) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14900.63315.37162.936895@onceler.kciLink.com> Date: Mon, 11 Dec 2000 10:48:35 -0500 To: stable@freebsd.org Subject: RE: MySQLd not using both CPUs In-Reply-To: References: X-Mailer: VM 6.86 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "DS" == David Schwartz writes: >> And from your experience, can the LinuxThreads take place of the >> pthreads library in all aspects? DS> Yes. My question is do you still need to link libc_r to get thread-safe versions of all the other functions or are they all thread-safe in standard libc already? The pthread man page says this: The current FreeBSD POSIX thread implementation is built in the library libc_r which contains both thread-safe libc functions and the thread functions. This library replaces libc for threaded applications. This implies to me that standard libc is not thread safe, which could be a problem in this case. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message