Threading libsmbclient - a proposal.
Jeremy Allison
jra at samba.org
Sun Apr 5 16:14:08 GMT 2009
On Sun, Apr 05, 2009 at 09:40:40AM +0300, Alexander Bokovoy wrote:
> On Fri, Apr 3, 2009 at 2:39 AM, Jeremy Allison <jra at samba.org> wrote:
> > Where SMBC_TLOCK will be a macro that expands to:
> > smbc_lock_(SMB_TUNLOCK,
> > GLOBAL_LOCKID,
> > __FILE__,
> > __LINE__);
> >
> > and SMBC_TUNLOCK will expand to:
> > smbc_lock(SMB_TLOCK|SMB_TLOCK_WRITE,
> > GLOBAL_LOCKID,
> > __FILE__,
> > __LINE__);
> Is it the other way around?
Yep, well spotted - there's a test later :-). Thanks,
Jeremy.
More information about the samba-technical
mailing list