bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #21320] Thread safety


From: Larry Campbell
Subject: [bug #21320] Thread safety
Date: Wed, 10 Oct 2007 23:18:10 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/419.3 (KHTML, like Gecko) Safari/419.3

URL:
  <http://savannah.gnu.org/bugs/?21320>

                 Summary: Thread safety
                 Project: GNUstep
            Submitted by: lcampbel
            Submitted on: Wednesday 10/10/2007 at 23:18
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

A quick scan through the Foundation sources show several thread-unsafe system
calls being used. These should be replaced with thread-safe alternatives (for
example, inet_ntop instead of inet_ntoa), or protected by locks if no
thread-safe alternative is available.

The ones I noticed include (with thread-safe alternative if known):

inet_ntoa (inet_ntop)
strerror (strerror_r)
gethostbyaddr
getgrgid
getpwuid
getpwnam
getgrnam
nl_langinfo
localeconv





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?21320>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]