[Duckwater-discuss] [sparks-discuss] Code-review request for Duckwater Phase 0

Nicolas Williams Nicolas.Williams at sun.com
Fri May 30 13:12:10 PDT 2008


On Fri, May 30, 2008 at 01:36:14PM -0500, Nicolas Williams wrote:
> So, we want a way for many threads in libsldap using programs to be able
> to wait indefinitely until ldap_cachemgr finds a suitable, live DS, then
> wake up all those threads.
> 
> The current scheme in the code I've reviewed has problems (see previous
> post).
> 
> There are several ways to do what is desired.  Here are some:

I spoke to Michen.

There's really no need for more than one thread to use the new
ldap_cachemgr status change feature: one thread in nscd.

That's because per-user nscds are short-lived anyways.

Michen will look at the changes to make it so.

That will address all my issues about this feature.

Also, the change status notification feature is somewhat more complex
than I'd thought, since there's server up and down change notifications.
That means that if we had lots of client threads then we'd need
something somewhat more involved than the designs I described.

Nico
-- 


More information about the duckwater-discuss mailing list