Subject: Re: thread-safe libc?
To: Guenther Grau <Guenther.Grau@bk.bosch.de>
From: Perry E. Metzger <perry@piermont.com>
List: current-users
Date: 07/24/1998 12:58:21
There is a project under way to try to make our libc thread safe and
add kernel support for threading.

Perry

Guenther Grau writes:
> Brian C. Grayson wrote:
> > 
> [...]
> > wondering what the thread-safe status of our libc is:  is it
> > known to be thread-safe?  Are certain routines known to be
> > thread-safe?  Or known to _not_ be thread-safe?
> > 
> >   Also, in the new version, the comment about the modifications
> > only mentions that they were done for optimization reasons.  Is it
> > worth doing a PR to have the comment updated to also mention
> > thread-safe-ness?
> 
> I think we need an additional attribute in the man pages explaining
> the state of MT-LEVEL, e.g.
> 
> gorgo% uname -a
> SunOS gorgo.bk.bosch.de 5.5.1 Generic_103640-12 sun4u sparc SUNW,Ultra-1
> gorgo% man gethostbyname
> 
> gethostbyname(3N)       Network Functions       gethostbyname(3N)
> [...]
> MT-LEVEL
>      See the subsection "Reentrant Interfaces" in the DESCRIPTION
>      section of this page.
> [...]
> 
> gorgo% man atoi
> [...]
> MT-LEVEL
>      MT-Safe
> [...]
> 
> To get this right, we probably have to audit our src-tree again :-(
> 
>   Guenther