2009/10/14 Daniel P. Berrange <berra...@redhat.com>:
> 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@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to