From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ta7WA-00065m-Ey for qemu-devel@nongnu.org; Sun, 18 Nov 2012 11:14:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ta7W7-000711-Cl for qemu-devel@nongnu.org; Sun, 18 Nov 2012 11:14:46 -0500 Received: from mx4-phx2.redhat.com ([209.132.183.25]:39224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ta7W7-00070p-4t for qemu-devel@nongnu.org; Sun, 18 Nov 2012 11:14:43 -0500 Date: Sun, 18 Nov 2012 11:14:23 -0500 (EST) From: Paolo Bonzini Message-ID: <2033819771.11614116.1353255263641.JavaMail.root@redhat.com> In-Reply-To: <50A8B24F.9060104@comstyle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [patch v4 08/16] QemuThread: make QemuThread as tls to store extra info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Brad Smith Cc: Peter Maydell , Liu Ping Fan , Jan Kiszka , Marcelo Tosatti , qemu-devel@nongnu.org, Avi Kivity , Anthony Liguori , Stefan Hajnoczi > > It does support pthread_get/setspecific, but it didn't support something > > else so the qemu-tls.h variant that used pthread_get/setspecific didn't > > work either. > > > > And it doesn't support sigaltstack in threads, so it's the only platform > > where the gthread-based coroutines are used. Those are buggy because > > the coroutines tend to get random signal masks. > > I'd love to know what that something else is. I think it is constructor priorities. Probably not needed if I look at the code again with a fresh mind. :) But yes Paolo