Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.013 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'argument': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:Problem': 0.16; 'wait.': 0.16; 'seems': 0.21; '(the': 0.22; '(in': 0.22; 'url:home': 0.24; 'header:X -Complaints-To:1': 0.27; 'object.': 0.31; 'fri,': 0.33; 'charset :us-ascii': 0.36; 'wrong': 0.37; 'two': 0.37; 'level': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'lower': 0.61; 'first': 0.61; 'therefore': 0.72; 'subject:skip:M 10': 0.84; 'received:108': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Problem in Multiprocessing module Date: Fri, 11 Oct 2013 21:50:04 -0400 Organization: IISS Elusive Unicorn References: <852C0701-6B21-4ACA-98FF-CF2261D92C2D@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-216-200.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1381542615 news.xs4all.nl 15912 [2001:888:2000:d::a6]:52699 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:56719 On Fri, 11 Oct 2013 18:58:44 -0400, Terry Reedy declaimed the following: > >so it seems that we need to look at the _Condition methods acquire, >release, and wait. (The first two are lock methods > self.acquire = lock.acquire > self.release = lock.release >). However, this seems wrong because self._cond has no reference to self Pardon? self._cond (in the parent) is an instance object. Therefore the parent calls supply "self._cond" AS the "self" argument to the lower level methods. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/