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

2009-10-15 Thread Matthias Bolte
2009/10/14 Daniel P. Berrange : > 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, >  virRWLockR

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

2009-10-14 Thread Daniel P. Berrange
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 *