From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAgcK-0006kt-1H for qemu-devel@nongnu.org; Mon, 03 Oct 2011 07:23:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAgcJ-00041E-5e for qemu-devel@nongnu.org; Mon, 03 Oct 2011 07:23:28 -0400 Received: from e28smtp06.in.ibm.com ([122.248.162.6]:42687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAgcH-00040j-Fs for qemu-devel@nongnu.org; Mon, 03 Oct 2011 07:23:27 -0400 Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60]) by e28smtp06.in.ibm.com (8.14.4/8.13.1) with ESMTP id p93BNFkL024073 for ; Mon, 3 Oct 2011 16:53:15 +0530 Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p93BNFfB4247624 for ; Mon, 3 Oct 2011 16:53:15 +0530 Received: from d28av02.in.ibm.com (loopback [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p93BNEck020921 for ; Mon, 3 Oct 2011 22:23:14 +1100 From: Harsh Prateek Bora Date: Mon, 3 Oct 2011 16:53:12 +0530 Message-Id: <1317640994-16559-1-git-send-email-harsh@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/2] Introduce QemuRWLock List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: stefanha@gmail.com, aneesh.kumar@linux.vnet.ibm.com SynthFS uses rwlocks, which raise the need of a generic QemuRWLock APIs. This patchset introduces the same making necessary changes to relevant code. Harsh Prateek Bora (2): Introduce QemuRWLock Use qemu_rwlock_* interface instead of pthread_rwlock_* hw/9pfs/virtio-9p-synth.c | 23 ++++++++++------------- qemu-thread-posix.c | 26 ++++++++++++++++++++++++++ qemu-thread-posix.h | 4 ++++ qemu-thread.h | 6 ++++++ 4 files changed, 46 insertions(+), 13 deletions(-) -- 1.7.4.1