Re: [PATCH 07/11] Introduce portability APIs for creating threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 02, 2010 at 05:49:11PM +0000, Daniel P. Berrange wrote:
> 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
> ---
>  src/libvirt_private.syms   |    4 +++
>  src/util/threads-pthread.c |   45 ++++++++++++++++++++++++++++++++++++++++++
>  src/util/threads-pthread.h |    4 +++
>  src/util/threads-win32.c   |   47 ++++++++++++++++++++++++++++++++++++++++++++
>  src/util/threads-win32.h   |    3 ++
>  src/util/threads.h         |   15 ++++++++++++++
>  6 files changed, 118 insertions(+), 0 deletions(-)

ACK

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]