summaryrefslogtreecommitdiff
path: root/tests/fcntl_lock_thread.c
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@dworkin.(none)>2009-05-13 14:37:17 -0400
committerDerrell Lipman <derrell@dworkin.(none)>2009-05-13 14:37:28 -0400
commit636fbd1028bf22d9a93ae5029f6881e144f58fe1 (patch)
tree55d8885ca838383fa8dcb19dabfd02618ceb6a62 /tests/fcntl_lock_thread.c
parent045af600f299f55f5a5b09a23b753ba97880aa06 (diff)
downloadsamba-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 'tests/fcntl_lock_thread.c')
0 files changed, 0 insertions, 0 deletions