Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #17975
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.019 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'complicate': 0.09; 'essentially': 0.10; '"or': 0.16; 'cc:addr:python-list': 0.16; 'mon,': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.20; 'cheers,': 0.20; "aren't": 0.21; 'dec': 0.22; '(or': 0.22; 'header :In-Reply-To:1': 0.22; 'accidentally': 0.23; 'cc:2**0': 0.24; 'saying': 0.26; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'kelly': 0.30; 'threads': 0.30; 'received:209.85.212': 0.34; 'two': 0.37; 'but': 0.37; 'run': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'why': 0.39; 'received:209': 0.40; '2011': 0.61; '26,': 0.67 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=wHK8EelQB2KOJVTOm821o/an2RFeHjO93y6h93W1AgE=; b=jNrJZQMLfrFLAghJYQt7fSPg84tnbk6Hv9AV78T54GiKx3ksrTJ8IozV+yc0KXcWfb BCDzNsZKNgsV3sn+e/OLCk2//nMEY4eqHoOfAHR78ge6AVWZmmWGmTy0V4PTcZIsUG6P ePOamGr3wEUQboZ6jSWvLijWiyVQGmF2BzfXo= |
| MIME-Version | 1.0 |
| In-Reply-To | <CALwzid=x2kCXCpN65-xe1vrpkZTyRAk8FX8oTV9RxDnyB_Naqw@mail.gmail.com> |
| References | <695ebd75-e0ff-409a-9f9a-8143b78bee0a@d10g2000vbh.googlegroups.com> <CALwzid=x2kCXCpN65-xe1vrpkZTyRAk8FX8oTV9RxDnyB_Naqw@mail.gmail.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Mon, 26 Dec 2011 13:03:04 -0700 |
| Subject | Re: Multithreading |
| To | Yigit Turgut <y.turgut@gmail.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4107.1324929816.27778.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1324929816 news.xs4all.nl 6915 [2001:888:2000:d::a6]:52142 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:17975 |
Show key headers only | View raw
On Mon, Dec 26, 2011 at 1:01 PM, Ian Kelly <ian.g.kelly@gmail.com> wrote: > You essentially have two completely independent loops that need to run > simultaneously with different timings. Sounds like a good case for > multiple threads (or processes if you prefer, but these aren: I accidentally sent before I was finished. I was saying "or processes if you prefer, but these aren't CPU-bound, so why complicate things?" Cheers, Ian
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Multithreading Yigit Turgut <y.turgut@gmail.com> - 2011-12-26 10:31 -0800
Re: Multithreading Ian Kelly <ian.g.kelly@gmail.com> - 2011-12-26 13:01 -0700
Re: Multithreading Yigit Turgut <y.turgut@gmail.com> - 2011-12-26 15:00 -0800
Re: Multithreading Ian Kelly <ian.g.kelly@gmail.com> - 2011-12-26 13:03 -0700
Re: Multithreading Yigit Turgut <y.turgut@gmail.com> - 2011-12-26 12:13 -0800
Re: Multithreading Ian Kelly <ian.g.kelly@gmail.com> - 2011-12-26 13:39 -0700
csiph-web