WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] [Xend] [1/2] Add a reader-writer lock

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [Xend] [1/2] Add a reader-writer lock
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: Tue, 04 Nov 2008 12:39:10 -0500
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxx>
Delivery-date: Tue, 04 Nov 2008 09:41:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: stefanb@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This patch adds a reader-writer lock primitive to xend since python does
not provide it by default. The implementation is based on a condition
variable. Some test code is appended at the end of the file.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>

Attachment: xend_rwlock.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [Xend] [1/2] Add a reader-writer lock, Stefan Berger <=