Date: Mon, 11 Dec 2000 10:48:35 -0500 From: Vivek Khera <khera@kciLink.com> To: stable@freebsd.org Subject: RE: MySQLd not using both CPUs Message-ID: <14900.63315.37162.936895@onceler.kciLink.com> In-Reply-To: <NCBBLIEPOCNJOAEKBEAKOEADMGAA.davids@webmaster.com> References: <PHEBIOJOBJJLIIJCOINKEEDHCPAA.noor@comrax.com> <NCBBLIEPOCNJOAEKBEAKOEADMGAA.davids@webmaster.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "DS" == David Schwartz <davids@webmaster.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14900.63315.37162.936895>
