CVS update: samba/source/nsswitch

Martin Pool mbp at samba.org
Fri Jan 17 10:50:43 EST 2003


On 16 Jan 2003, jra at samba.org wrote:

> Modified Files:
>       Tag: APPLIANCE_HEAD
> 	winbindd_cm.c 
> Log Message:
> Tidyup of Mutex code as it gets forward ported to HEAD. No CR#.
> Jeremy.

Jeremy, it seems like it would be possible to pull out the ref_count
field entirely, and just replace it with a stack variable got_mutex.
I think this would be clearer.  

After Andrew's recent discussion, perhaps it would be better to take
and release the mutex while getting the connection, and then take it
again when doing netlogon, if necessary.

Perhaps it's not worth changing that because of the need to retest the
original CR though.

-- 
Martin 



More information about the samba-cvs mailing list