Re: [libvirt] [PATCH 3/5] Implement a RWLock primitive for drivers to use

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

 



2009/10/14 Daniel P. Berrange <berrange@xxxxxxxxxx>:
> This implements a thin wrapper around the pthread_rwlock
> primitives. No impl is provided for Win32 at this time
> since it is rather hard, and none of our code yet requires
> it on Win32
>
> * src/util/threads.h: Add virRWLockInit, virRWLockDestroy,
>  virRWLockRead, virRWLockWrite, virRWLockUnlock APIs
> * src/util/threads-pthread.h: define virRWLock  struct
> * src/util/threads-pthread.c: Implement RWLock APIs
> ---
>  src/libvirt_private.syms   |    6 ++++++
>  src/util/threads-pthread.c |   30 ++++++++++++++++++++++++++++++
>  src/util/threads-pthread.h |    4 ++++
>  src/util/threads.h         |   10 ++++++++++
>  4 files changed, 50 insertions(+), 0 deletions(-)
>

ACK

Matthias

--
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]