From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MP1Lo-0001KC-8R for qemu-devel@nongnu.org; Thu, 09 Jul 2009 17:40:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MP1Ln-0001Ie-9H for qemu-devel@nongnu.org; Thu, 09 Jul 2009 17:40:19 -0400 Received: from [199.232.76.173] (port=35323 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MP1Ln-0001IR-5h for qemu-devel@nongnu.org; Thu, 09 Jul 2009 17:40:19 -0400 Received: from fg-out-1718.google.com ([72.14.220.153]:25592) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MP1Lm-0007VM-Kw for qemu-devel@nongnu.org; Thu, 09 Jul 2009 17:40:18 -0400 Received: by fg-out-1718.google.com with SMTP id d23so182997fga.8 for ; Thu, 09 Jul 2009 14:40:16 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <3646AB84-79BE-4327-A732-57661E3C8919@acrodea.co.jp> References: <3646AB84-79BE-4327-A732-57661E3C8919@acrodea.co.jp> Date: Thu, 9 Jul 2009 21:40:15 +0000 Message-ID: <94a0d4530907091440i65d16776vc1b575f9c5a8d454@mail.gmail.com> Subject: Re: [Qemu-devel] ARM multithreading status From: Felipe Contreras Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Timo Suoranta Cc: Qemu-devel On Mon, Jul 6, 2009 at 3:16 PM, Timo Suoranta wrote: > I run into multithreading issues with Qemu 0.10.5 running arm debian, Linux > kernel 2.6.28. I found some couple of years old info saying qemu doesn't > properly support multithreading: > > http://www.mail-archive.com/qemu-devel@nongnu.org/msg08233.html > > What is the current status? Has this been fixed? Or could it be the cause of > my problems? > > My problem is that my threading test code manages to create and join one > pthread, but the next pthread_create, while it starts a new thread, doesn't > return, and in fact the whole linux system is unable to start any new > processes until the test program ends. I don't know if this helps, but I had a problem when joining a thread in arm linux user, and this patch fixed it: http://git.savannah.gnu.org/cgit/qemu.git/commit/?id=c2764719914ff0c4d6c06adafea17629600f21ba -- Felipe Contreras