Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56719
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: Problem in Multiprocessing module |
| Date | 2013-10-11 21:50 -0400 |
| Organization | IISS Elusive Unicorn |
| References | <852C0701-6B21-4ACA-98FF-CF2261D92C2D@mac.com> <l39vqu$a5l$1@ger.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1026.1381542615.18130.python-list@python.org> (permalink) |
On Fri, 11 Oct 2013 18:58:44 -0400, Terry Reedy <tjreedy@udel.edu>
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/
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Problem in Multiprocessing module Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-10-11 21:50 -0400
csiph-web