From: Julian Seward Subject: Re: [Xen-devel] Re: [PATCH 01/13] Handle terminating signals. Date: Tue, 26 Aug 2008 18:14:56 +0200 Message-ID: <200808261814.57044.jseward@acm.org> References: <1219336054-15919-1-git-send-email-kraxel@redhat.com> <18612.9061.534326.657959@mariner.uk.xensource.com> <48B42B57.2070301@qumranet.com> Reply-To: qemu-devel@nongnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48B42B57.2070301@qumranet.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: qemu-devel@nongnu.org Cc: xen-devel@lists.xensource.com, Gerd Hoffmann List-Id: xen-devel@lists.xenproject.org On Tuesday 26 August 2008, Avi Kivity wrote: > Threading bugs in the implementation? In 2008? > > Practically all serious software is multithreaded nowadays. That's not in itself an argument in support of writing threaded code if you don't have to. I spent much of the last year developing thread-checking tools in the Valgrind framework (Helgrind), and testing them on serious software. From that I would say that practically all serious multithreaded software is riddled with threading bugs, mostly data races and inconsistent lock orderings (potential deadlocks). J