Path: csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.177 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.66; '*S*': 0.01; 'subject:threads': 0.16; 'thread.': 0.16; 'header:In-Reply-To:1': 0.22; 'subject:problem': 0.25; 'instead': 0.26; 'message-id:@mail.gmail.com': 0.28; 'daniel': 0.29; 'threads.': 0.31; 'to:addr:python-list': 0.32; 'module': 0.33; 'data': 0.37; 'received:209.85': 0.37; 'subject:with': 0.37; 'received:google.com': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'header:Received:5': 0.40; 'best': 0.60; 'received:209.85.210.174': 0.84; 'received:mail- iy0-f174.google.com': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=g4t4w/3F1iWEhXz0pn7mQRzzkrtTk7ws5yc8VpKxdgE=; b=Y3YnjvjR41wBOIScTppIFIMksV0tC4vDrZrqrL0L3Y4IzQHZzQ3Eh3toOZnrl7gUYb OiHXsajP+s/aeUYDKMfeg3PZ77UqTUdGXG4L6K17i4sv+oWeok1GSfK2UYiz25R5uV6l 5Sl26sc2gBe75tV9FCGEo9yDfEr8GQwTG8Ja8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=amaymHvxmEZ5ShWVs3tPTEVnaOXQ9iR9eNltMK8+3/6VAGWb33saxD1mCMoDoQzexT EgDdTUcAIgeUQ/8nVBRYhO9c0C3jI8cbKit/i20qesEyR08GLurF/e6mAdcWCaY1MwYB WjSTj5AEbMtUJIOoTDG+bv/pgvvgFu2okt138= MIME-Version: 1.0 In-Reply-To: <4DCECC70.5020703@earthsong.free-online.co.uk> References: <4DCE7FCC.8020907@gmail.com> <4DCECC70.5020703@earthsong.free-online.co.uk> Date: Sun, 15 May 2011 20:49:46 +1100 Subject: Re: threads with gtk gui problem From: Daniel Kluev To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 7 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305452989 news.xs4all.nl 81473 [::ffff:82.94.164.166]:39311 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5417 You can also use multiprocessing module instead of threads. Use pipe and gobject.idle_add(somefunc) to process data from other thread. -- With best regards, Daniel Kluev