From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Goldish Subject: Re: [Autotest] [KVM-AUTOTEST PATCH 3/7] [RFC] Introduce exception context strings Date: Mon, 03 Jan 2011 22:41:14 +0200 Message-ID: <4D22346A.4040201@redhat.com> References: <1294079651-21631-1-git-send-email-mgoldish@redhat.com> <1294079651-21631-3-git-send-email-mgoldish@redhat.com> <20110103202622.GM3361@otherpad.lan.raisama.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: autotest@test.kernel.org, kvm@vger.kernel.org To: Eduardo Habkost Return-path: Received: from mx1.redhat.com ([209.132.183.28]:52289 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752868Ab1ACUkb (ORCPT ); Mon, 3 Jan 2011 15:40:31 -0500 In-Reply-To: <20110103202622.GM3361@otherpad.lan.raisama.net> Sender: kvm-owner@vger.kernel.org List-ID: On 01/03/2011 10:26 PM, Eduardo Habkost wrote: > On Mon, Jan 03, 2011 at 08:34:07PM +0200, Michael Goldish wrote: >> + >> +context_data = threading.local() >> +context_data.contexts = {} > > Won't this create a single dictionary, only for one single thread, > leaving all other threads with 'context_data.contexts' undefined? Probably. I'll fix that.