diff options
author | Derrell Lipman <derrell@dworkin.(none)> | 2009-05-13 14:37:17 -0400 |
---|---|---|
committer | Derrell Lipman <derrell@dworkin.(none)> | 2009-05-13 14:37:28 -0400 |
commit | 636fbd1028bf22d9a93ae5029f6881e144f58fe1 (patch) | |
tree | 55d8885ca838383fa8dcb19dabfd02618ceb6a62 /lib | |
parent | 045af600f299f55f5a5b09a23b753ba97880aa06 (diff) | |
download | samba-636fbd1028bf22d9a93ae5029f6881e144f58fe1.tar.gz samba-636fbd1028bf22d9a93ae5029f6881e144f58fe1.tar.bz2 samba-636fbd1028bf22d9a93ae5029f6881e144f58fe1.zip |
Thread-safe protection: libsmbclient initialization
- Begin converting init functions to use SMB_THREAD_ONCE. libsmbclient
module-wide initialization is now moved into a separate function and called
via SMB_THREAD_ONCE.
- libsmbclient counts users (contexts) so that it can release global resources
when the last context is closed. That count of contexts is now protected by
a mutex.
Derrell
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions