Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7471

which threading libraries to use?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <daodennis@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.030
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'twisted,': 0.07; 'http,': 0.09; 'received:mail-bw0-f46.google.com': 0.09; 'library': 0.15; 'received:209.85.214.46': 0.16; 'snmp,': 0.16; 'threading': 0.16; 'worried': 0.16; 'class,': 0.16; 'preference': 0.16; 'thanks,': 0.19; 'project,': 0.24; 'subject:use': 0.25; 'message- id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'subject:?': 0.29; 'besides': 0.29; "python's": 0.29; 'asynchronous': 0.30; 'hi,': 0.31; 'to:addr:python-list': 0.33; 'there': 0.35; 'received:google.com': 0.37; 'received:209.85': 0.37; 'reasons': 0.37; 'think': 0.38; 'should': 0.39; 'unless': 0.39; 'easier': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'best': 0.60; 'dennis': 0.77; 'about?': 0.84; 'licensing': 0.84; 'other?': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=I31AKRUvpDKn8bJjD5VVNFCOEmxkCF5+7iIwbF3sqiI=; b=d0Z0HB6GJmk+/gkPL5rUp4dynOfRGEThNZPFyk9CK39hVxux5Bty5/SrIpbnANlpDL X03Yl1m0QTpoPcu+ezn1fSWz2jMAVAc+9IyPPzzLkDZJ8yBHJgwmoOGzcjpkaIzXcWXL Z/ZMHsAMTqto+GWL33m0RWEOJ5ynaXiVGJMZE=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qEPvWeZ5IxXayTjZZSCo64paVtVxvIX4fJm3+o04muAwGsIrqHfx6wq3EYojEzQQYP n30OIm+Nfg0ub4L+QseUVjrj//UDiSMeelAUAoKtPrkKnj3zDI3+7t0r2Q4jSKOPLomt S6PRAZgYLC3U3THN+CUIMYlS0q0JNabZHkPZU=
MIME-Version 1.0
Date Sat, 11 Jun 2011 21:10:56 -0700
Subject which threading libraries to use?
From Dennis <daodennis@gmail.com>
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 <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.146.1307851859.11593.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 82.94.164.166
X-Trace 1307851859 news.xs4all.nl 49175 [::ffff:82.94.164.166]:56739
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:7471

Show key headers only | View raw


Hi,

Are there any reasons besides personal preference to use one
particular threading library over the other?  Eventlet, Twisted, and
Python's native Threading class, or are there even others?  Are there
any licensing or redistribution restrictions that I should be worried
about?  Which ones do you consider best documented?  Most thread-safe?
Efficient?

Ultimately this will be used for asynchronous SNMP, HTTP, and WMI.  I
don't think this will need to evolve into a multi-process project,
unless of course that is much easier to do than multi-threading?

Thanks,

Dennis O.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

which threading libraries to use? Dennis <daodennis@gmail.com> - 2011-06-11 21:10 -0700

csiph-web