summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-11-02 21:48:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-11-02 21:48:41 +0000
commit068c3ee1df9be23ee252428b87cfcf2c43cda3cf (patch)
treea874ea91a3d48ab47e2957c97c1e7ea1dbe6f3fe /cpukit/score
parent2006-11-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-068c3ee1df9be23ee252428b87cfcf2c43cda3cf.tar.bz2
2006-11-02 Steven Johnson <sjohnson@sakuraindustries.com>
* libnetworking/netdb.h, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c: This patch adds a functional gethostbyname_r to RTEMS. We were having problems with multiple threads calling gethostbyname, so we decided the best way to deal with it was to do it properly, rather than kludge up our code to make gethostbyname safe. We have found several slightly different parameter lists for this function, it does not seem to be standard. The one we used has the linux interface. In RTEMS there was an existing gethostbyname_r inside a #ifdef _THREAD_SAFE which was NOT Threadsafe, as this just called gethostbyname. So we have placed all of the additional code inside the #ifdef _THREAD_SAFE.
Diffstat (limited to 'cpukit/score')
0 files changed, 0 insertions, 0 deletions