reentrant resolver
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Apr 23 00:58:25 UTC 2002
"Vyacheslav V. Burdjanadze" wrote:
>
> Is there some thread/task-safe DNS resolver intended to use with RTEMS?
> I tried to use that one which
> comes with libnetworking but it seemed to use select()/poll() and uses
> static buffers to decode NS replies.
Without looking at the code, I only see two easy possibilities:
+ protect it with a mutex
+ add a _r version of the function that takes a working
buffer as an argument and make the existing function
a wrapper that declares the needed buffer.
> Thanks.
> --
>
> - " Why do you call this software 'beta' ? "
> - " Cuz it beta than nothin' ! "
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list