bugGNUstep - Bugs: bug #21320, Thread safety

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21320: Thread safety

Submitted by:  Larry Campbell <lcampbel>
Submitted on:  Wed 10 Oct 2007 11:18:08 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 20 Feb 2008 09:22:21 AM UTC, comment #1:

Some were already lock protected, some I've fixed.

Richard Frith-Macdonald <CaS>
Project Member
Wed 10 Oct 2007 11:18:08 PM UTC, original submission:

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

Larry Campbell <lcampbel>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by lcampbel (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 20 Feb 2008 09:22:21 AM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1