1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/lib
Derrell Lipman d3434477e6 Replace external thread "once" with an internal implementation
Jeremy, please check...

- I'm in the process of providing an interface in libsmbclient to the
  recently-added threading capabilities. In the process, I discovered that
  different thread implementations have varying types for the variable passed
  to the thread_impl_once() function. pthreads, for example, uses type
  pthread_once_t. Since Samba needs to internally declare these variables, it
  would need to know the exact type required by each thread implementation's
  function. After considering multiple methods of obtaining an appropriately
  sized variable, I decided that for the basic "once" functionality required
  by Samba, it would be much simpler to just implement our own "once"
  functionality. We don't require cancellation points et all. This commit adds
  an smb_thread_once() function that is implemented using an internal
  mutex. The mutex itself uses the implementation's create_mutex
  function. This eliminates the need for the user to provide a smb_thread_once
  function pointer and the entire issue of that function's first parameter.

Derrell
2009-05-10 22:45:12 -04:00
..
async_req Remove async_req 2009-04-08 23:11:59 +02:00
compression Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
crypto Fix missing symbols issues when building with shared libraries. 2008-12-22 21:03:09 +01:00
nss_wrapper Fix indentation for some configure options. 2009-01-15 21:17:56 +01:00
popt s3/popt.h: Fix typo. 2009-04-07 20:05:21 +02:00
replace Avoid using deprecated form of AC_CHECK_TYPE. 2009-04-22 10:36:47 +02:00
smbconf s3:smbconf: move smbconf_share_exists checks into backend 2009-03-04 22:49:24 +01:00
socket_wrapper socket_wrapper: fix the build on systems without ipv6 support 2009-04-14 12:47:18 +02:00
subunit Fix subunit files location after cherrypicks. 2008-10-08 03:33:38 +02:00
talloc Avoid --nonet when building manpages; xsltproc will already prefer local 2009-05-06 17:48:01 +02:00
tdb Update tdb and talloc web pages 2009-05-05 19:04:39 -04:00
tdr tdr: Remove dependency on lp_* so it can be used in both Samba 3 and 2009-03-15 00:54:29 +01:00
tevent tevent: fix typo async_req_done() => tevent_req_done() 2009-05-07 08:09:56 +02:00
torture lib/torture: fix depency to map_nt_error_from_unix() 2009-02-26 17:47:00 +01:00
tsocket Attempt to the build on NetBSD5 and a few others 2009-05-01 23:26:22 +02:00
util Replace external thread "once" with an internal implementation 2009-05-10 22:45:12 -04:00
zlib Rename BAD to BAD_DATA since the first is already defined on SunOS. 2008-10-20 10:45:42 +02:00
README Remove unused init function in subunit code. 2008-11-16 01:36:17 +01:00

compression - Various compression algorithms (MSZIP, lzxpress)
nss_wrapper - Wrapper for the user and group NSS API allowing the use 
              of other data sources.
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
socket_wrapper - Wrapper library allowing TCP/IP traffic to be redirected 
                 over Unix domain sockets.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library