[OpenAFS] Re: AFS Perl module and threaded Perl

Derrick J Brashear shadow@dementia.org
Fri, 3 Dec 2004 15:33:07 -0500 (EST)


On Fri, 3 Dec 2004, Ken Hornstein wrote:

>> Well, I think the most basic question here is why is vsu_ClientInit
>> calling LWP_CreateProcess at all.  Does the client really need to be
>> threaded?
>>
>> Is someone who knows the OpenAFS code better than I able to fill us in off
>> the top of their head?  Do the client binaries really use LWP threads to
>> handle the network conversations with the servers?
>
> When I had looked at this a while ago (for something else), I discovered
> that the client side code uses the LWP code for waiting for the network
> data (I think it's using IOMGR, which is part of LWP).  That's buried
> deep within rx.  I'm not sure if they actually use LWP threads or not,
> though.

realize you can use pthreaded rx by linking libafsrpc instead of librx.