This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Threading bug in sunrpc/auth_none.c


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]