Threading libsmbclient - a proposal.

Alexander Bokovoy ab at samba.org
Sun Apr 5 06:40:40 GMT 2009


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?

-- 
/ Alexander Bokovoy


More information about the samba-technical mailing list