Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed20.multikabel.net!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'target,': 0.09; '1:48': 0.16; 'finney': 0.16; 'imo.': 0.16; 'kernels,': 0.16; 'less,': 0.16; "microsoft's": 0.16; 'reason.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'roy': 0.16; 'windows?': 0.16; 'wrote:': 0.18; 'programming': 0.22; 'issue.': 0.22; 'creating': 0.23; 'header:User-Agent:1': 0.23; 'mon,': 0.24; '(or': 0.24; 'header:X-Complaints-To:1': 0.27; 'chris': 0.29; 'unix': 0.29; 'writes:': 0.31; 'another': 0.32; 'created': 0.35; 'but': 0.35; 'there': 0.35; 'operating': 0.37; 'problems': 0.38; 'ben': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'expensive': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'major': 0.40; 'solve': 0.60; 'new': 0.61; 'our': 0.64; 'become': 0.64; 'more': 0.64; 'smith': 0.68; 'maybe,': 0.84; 'received:125': 0.84; '\xe2\x80\x9cwe': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: threading Date: Mon, 07 Apr 2014 15:22:04 +1000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: jigong.madmonks.org X-Public-Key-ID: 0xBD41714B X-Public-Key-Fingerprint: 9CFE 12B0 791A 4267 887F 520C B7AC 2E51 BD41 714B X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-gpg.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:fFs4YVbJsSa0g67t2P8oZxOq0f4= 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396848139 news.xs4all.nl 2911 [2001:888:2000:d::a6]:40781 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69802 Chris Angelico writes: > On Mon, Apr 7, 2014 at 1:48 PM, Roy Smith wrote: > > There is (or at least, was) another reason. Creating a new process > > used to be far more expensive than creating a new thread. In modern > > Unix kernels, however, the cost difference has become much less, so > > this is no longer a major issue. > > Unix maybe, but what about Windows? Is it efficient to create > processes under Windows? Another reason to avoid Microsoft's operating systems as a programming target, IMO. -- \ “We cannot solve our problems with the same thinking we used | `\ when we created them.” —Albert Einstein | _o__) | Ben Finney