This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
glibc 2.2.4 -- multi-threaded client failure
- From: Chinmay Patel <az_natureboy at yahoo dot com>
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Date: Thu, 28 Mar 2002 08:23:37 -0800 (PST)
- Subject: glibc 2.2.4 -- multi-threaded client failure
- Reply-to: glibc-linux at ricardo dot ecn dot wfu dot edu
I have a multi-threaded client, in which I create
CLIENT handle in the first thread, and then use
clnt_call in other child-threads to access server.
Under RedHat 7.1 (glibc 2.2.2) things work perfectly
fine.
But as I upgraded to RedHat 7.2 (glibc 2.2.4-19) the
clnt_call fails. On further investigations, I digged
into the glibc code and found that AUTH_MARSHALL (I am
using auth-none) call in clntudp_call is failing
because it is not finding some thread-safe data
structure.
What am I missing - is there anything extra I need to
do in order to instruct that my client application is
multi-threaded?
The "M" flag to "rpcgen" doesn't seem to be helping,
since all it does is generate stubs with different
function definitions. But it does not generate any
extra multi-thread specific code. Am I missing
anything during "rpcgen" time?
Thanks in advance!
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/