libvirt/src/util
Daniel P. Berrange 64d6750709 Introduce portability APIs for creating threads
The util/threads.c/h code already has APIs for mutexes,
condition variables and thread locals. This commit adds
in code for actually creating threads.

* src/libvirt_private.syms: Export new symbols
* src/util/threads.h: Define APIs virThreadCreate, virThreadSelf,
  virThreadIsSelf and virThreadJoin
* src/util/threads-win32.c, src/util/threads-win32.h: Win32
  impl of threads
* src/util/threads-pthread.c, src/util/threads-pthread.h: POSIX
  impl of threads
2010-11-11 16:03:09 +00:00
..
authhelper.c esx: Move username and password helper functions to authhelper.c 2010-03-16 20:15:32 +01:00
authhelper.h esx: Move username and password helper functions to authhelper.c 2010-03-16 20:15:32 +01:00
bitmap.c Add ACK'd v2 changes for previous commit 2010-06-18 11:56:04 -04:00
bitmap.h build: fix cppi warnings 2010-05-21 16:02:18 -06:00
bridge.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
bridge.h Convert virNetwork to use virSocketAddr everywhere 2010-10-22 12:07:02 +01:00
buf.c buf: Fix possible infinite loop in EscapeString, VSnprintf 2010-09-10 10:05:43 -04:00
buf.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
cgroup.c qemu_driver: add virCgroupMounted 2010-10-29 09:46:25 -06:00
cgroup.h qemu_driver: add virCgroupMounted 2010-10-29 09:46:25 -06:00
conf.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
conf.h esx: Allow '-' in VMX entry names 2010-09-23 10:37:10 +02:00
dnsmasq.c dnsmasq: avoid potential crash 2010-10-22 10:22:20 -06:00
dnsmasq.h Convert virNetwork to use virSocketAddr everywhere 2010-10-22 12:07:02 +01:00
ebtables.c ebtablesAddRemoveRule, iptablesAddRemoveRule: don't skip va_end 2010-05-18 19:23:33 +02:00
ebtables.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
event.c Fixes for documentation extraction 2010-10-13 13:50:07 +02:00
event.h Fix documentation for virEventAddTimeout() 2010-10-26 10:23:03 +02:00
files.c Introduce VIR_CLOSE to be used rather than close() 2010-10-19 10:23:51 -04:00
files.h Introduce VIR_CLOSE to be used rather than close() 2010-10-19 10:23:51 -04:00
hash.c Fix up a comment in virHashUpdateEntry 2010-02-01 09:39:54 -05:00
hash.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
hooks.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
hooks.h Add hook utilities 2010-03-29 18:21:04 +02:00
hostusb.c hostusb: Properly handle 'usbX' sysfs files 2010-06-02 09:57:55 -04:00
hostusb.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
interface.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
interface.h add 802.1Qbh and 802.1Qbg handling 2010-06-02 21:35:22 -04:00
iptables.c Fix several warnings about a non-literal format string 2010-11-02 09:47:22 +01:00
iptables.h Fix formatting of network address in iptables helpers 2010-10-26 11:19:13 +01:00
json.c build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
json.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
logging.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
logging.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
macvtap.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
macvtap.h add 802.1Qbh and 802.1Qbg handling 2010-06-02 21:35:22 -04:00
memory.c Implement variable length structure allocator 2010-04-14 00:46:13 -04:00
memory.h maint: another preprocessor fix 2010-04-15 11:39:10 -06:00
network.c Fix several warnings about a non-literal format string 2010-11-02 09:47:22 +01:00
network.h Convert virNetwork to use virSocketAddr everywhere 2010-10-22 12:07:02 +01:00
pci.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
pci.h pciResetDevice: use inactive devices to determine safe reset 2010-07-26 18:43:04 +02:00
processinfo.c build: update gnulib 2010-05-06 14:35:38 -06:00
processinfo.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qparams.c qparams.c: do not skip va_end, twice 2010-02-19 11:52:04 +01:00
qparams.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
stats_linux.c build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
stats_linux.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_file.c Allow non-file disk backingStores 2010-11-09 16:40:27 -07:00
storage_file.h Allow non-file disk backingStores 2010-11-09 16:40:27 -07:00
sysinfo.c Add a sysinfo util module and read host info API 2010-11-08 15:14:50 +01:00
sysinfo.h Add a sysinfo util module and read host info API 2010-11-08 15:14:50 +01:00
threads-pthread.c Introduce portability APIs for creating threads 2010-11-11 16:03:09 +00:00
threads-pthread.h Introduce portability APIs for creating threads 2010-11-11 16:03:09 +00:00
threads-win32.c Introduce portability APIs for creating threads 2010-11-11 16:03:09 +00:00
threads-win32.h Introduce portability APIs for creating threads 2010-11-11 16:03:09 +00:00
threads.c build: avoid pthreads-win32 on mingw 2010-06-10 06:05:31 -06:00
threads.h Introduce portability APIs for creating threads 2010-11-11 16:03:09 +00:00
util.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
util.h util: Add helper function to build timestamp string 2010-11-01 17:05:11 -06:00
uuid.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
uuid.h Expose a host UUID in the capabilities XML 2010-05-25 17:09:18 +01:00
virtaudit.c bye to close(), welcome to VIR_(FORCE_)CLOSE() 2010-11-09 15:48:48 -05:00
virtaudit.h Add printf format attribute annotation to virAuditSend method 2010-10-27 17:03:21 +01:00
virterror_internal.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
virterror.c Add a generic internal API for handling any FD based stream 2010-11-11 16:02:57 +00:00
xml.c Introduce XML parsing utility functions 2010-03-23 15:40:04 +01:00
xml.h Introduce XML parsing utility functions 2010-03-23 15:40:04 +01:00