From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7MlC-0002hC-15 for qemu-devel@nongnu.org; Tue, 23 Jun 2015 07:53:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7Ml8-0000M5-SW for qemu-devel@nongnu.org; Tue, 23 Jun 2015 07:53:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Ml8-0000Ly-Ml for qemu-devel@nongnu.org; Tue, 23 Jun 2015 07:52:58 -0400 Message-ID: <55894895.5050204@redhat.com> Date: Tue, 23 Jun 2015 13:52:53 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1435010055-4584-1-git-send-email-zavadovsky.yan@gmail.com> <5588F689.8050202@weilnetz.de> <55893923.9010304@redhat.com> <20150623111822.GE30318@redhat.com> <558943C3.9030709@redhat.com> <20150623114344.GF30318@redhat.com> In-Reply-To: <20150623114344.GF30318@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] thread-win32: fix GetThreadContext() permanently fails List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Olivier Hainque , Peter Maydell , =?UTF-8?B?0K/QvSDQl9Cw0LLQsA==?= =?UTF-8?B?0LTQvtCy0YHQutC40Lk=?= , Stefan Weil , QEMU Developers , Fabien Chouteau On 23/06/2015 13:43, Daniel P. Berrange wrote: > > We can and should just reuse glib these days as much as we can (probably > > not entirely because glib doesn't have detached threads). At least a > > few years ago, winpthreads was much slower than native Win32, which is > > why everyone reinvents the wheel. > > Are you sure that was wrt the (new) winpthreads library maintained by > Mingw64 team, and not the confusingly similar pthreads-win32 library ? None of them use native Win32 condition variables, which is the main reason to switch to glib's version. Paolo