Sean Boudreau(deleted)
|
Re: _res is not supported for multi-threaded programs
|
Sean Boudreau(deleted)
10/24/2008 9:53 AM
post15505
|
Re: _res is not supported for multi-threaded programs
On Fri, Oct 24, 2008 at 09:37:15AM -0400, William Smith wrote:
> We encountered a bug when running io-pkt with j9. We get the message "_res is not supported for multi-threaded
programs" when we try and start one of our java apps. I did a search on the string of our binaries and found that the
message is in libsocket.so. However, when I searched the foundry repository in socket, I couldn't find the message. We
do not get this message when we run with io-net. Anybody have any insight as to what the message means or what function
is generating it?
It's from __res_state() in lib/socket/resolve/res_state.c.
This was part of the work to make the resolving funcs
thread safe. In a multi threaded app there's no longer
a global struct __res_state.
-seanb
|
|
|