From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ei4hb-0000XQ-No for qemu-devel@nongnu.org; Sat, 03 Feb 2018 15:46:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ei4hZ-0005FE-Rq for qemu-devel@nongnu.org; Sat, 03 Feb 2018 15:46:23 -0500 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]:42504) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ei4hZ-0005Ep-MG for qemu-devel@nongnu.org; Sat, 03 Feb 2018 15:46:21 -0500 Received: by mail-pl0-x242.google.com with SMTP id 11so8939133plc.9 for ; Sat, 03 Feb 2018 12:46:21 -0800 (PST) References: <20180203153935.8056-1-pbonzini@redhat.com> <20180203153935.8056-2-pbonzini@redhat.com> From: Richard Henderson Message-ID: Date: Sat, 3 Feb 2018 12:46:18 -0800 MIME-Version: 1.0 In-Reply-To: <20180203153935.8056-2-pbonzini@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/5] test-coroutine: add simple CoMutex test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: famz@redhat.com, qemu-block@nongnu.org, stefanha@redhat.com On 02/03/2018 07:39 AM, Paolo Bonzini wrote: > In preparation for adding a similar test using QemuLockable, add a very > simple testcase that has two interleaved calls to lock and unlock. > > Reviewed-by: Stefan Hajnoczi > Signed-off-by: Paolo Bonzini > --- > tests/test-coroutine.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 48 insertions(+), 2 deletions(-) Reviewed-by: Richard Henderson r~