Date: Tue, 23 Apr 1996 12:39:09 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: kaleb@x.org (Kaleb S. KEITHLEY) Cc: hackers@freefall.freebsd.org Subject: Re: Help! I need info on pthreads. Message-ID: <199604231939.MAA20138@phaeton.artisoft.com> In-Reply-To: <199604231022.GAA03612@exalt.x.org> from "Kaleb S. KEITHLEY" at Apr 23, 96 06:22:52 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > > I have suddenly been informed that I must convert a significant > > > piece of code to use pthreads. Since FreeBSD will be one of my > > > test vehicles I need to know if the libc_r library under 2.1-stable > > > and/or current is working. > > > > 2.2-current only. It works for me. If it doesn't work for _you_, let > > me know. Watch out for libc functions that aren't re-entrant, though. > > You mean watch out for libc functions that aren't MT-safe. There's a big > difference between being MT-safe and being reentrant. Reentrant means > the function can be called in a signal handler, usually limited to system > calls. MT-safe means the function can be called by more than one thread > at a time. On other systems with threads there are MT-safe functions that > aren't reentrant. Other systems have real threads instead of signal-based context switching. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604231939.MAA20138>