Threading bug in sunrpc/auth_none.c
H . J . Lu
hjl@lucon.org
Fri Apr 12 13:07:00 GMT 2002
On Fri, Apr 12, 2002 at 12:50:58PM -0700, Zack Weinberg wrote:
> On Fri, Apr 12, 2002 at 12:41:42PM -0700, H . J . Lu wrote:
> >
> > I don't think calling clntudp_create in one thread and using it in a
> > different thread is supported. You may run into more problems. I posted
> > a patch to support it. But very few people are interested in it.
>
> It works under Solaris, and I have some real software here that
> expects it to work.
Why do you think I made that patch?
>
> I would not be surprised if there were more threading bugs in the
> sunrpc directory -- for instance, while developing that test program I
> discovered that (clnt|svc)raw_create were completely broken by the
> thread changes. As in "this code cannot possibly work anymore, even
> single-threaded."
A testcase?
>
> Is there an actual problem with my patch?
I am not 100% sure if it is complete for sharing RPC handles among
threads in all cases.
H.J.
More information about the Libc-alpha
mailing list