Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.055 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; '1:48': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'kernels,': 0.16; 'less,': 0.16; 'reason.': 0.16; 'roy': 0.16; 'windows?': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'issue.': 0.22; 'cc:addr:python.org': 0.22; 'creating': 0.23; 'mon,': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'unix': 0.29; 'message-id:@mail.gmail.com': 0.30; 'software,': 0.31; 'concern': 0.31; 'lot.': 0.31; 'another': 0.32; 'entirely': 0.33; 'maybe': 0.34; "i'd": 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'generic': 0.38; 'pm,': 0.38; 'expensive': 0.39; 'supporting': 0.39; 'major': 0.40; 'worry': 0.60; 'new': 0.61; 'become': 0.64; 'more': 0.64; 'smith': 0.68; 'price': 0.69; 'day': 0.76; 'article': 0.77; 'complexity': 0.84; 'maybe,': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=OJSyuMIYWKNwCXqJPZqlk69fljtwoiNd9C3Vp1ImZEc=; b=Kx2n1HekUaSDeZUxbeLRjqdvFAJ5b135hUawmN5ikairaXXq8GGTJwPqDaKNJYOD41 5E5TxVm+0IFECsKDxS9vt330t5ZlNII/hjR8EiF0eHUPg3K4K7NMea3q+vg35SUW5ywK uV9WtTT+IKk4+CUD4qQlLjRegdEDBxfMnJoIKfabgfsyNMGnZKWFOuJVI9tfUdxm2vcT hmLc5beI1zlmKuGBQgHTlNhtHvDDjhBPKTxD2EyXVAOJ+NTuaXXBkEdHGeLGDvWRGHbw i9FQe6j0Y8ZXaEpao8+4SX3rLvShMjyx1fQUk9FyTBSTremmirV89SkfFqkRE50AtU1h lP/Q== MIME-Version: 1.0 X-Received: by 10.66.192.225 with SMTP id hj1mr2700653pac.142.1396874093829; Mon, 07 Apr 2014 05:34:53 -0700 (PDT) In-Reply-To: References: Date: Mon, 7 Apr 2014 22:34:53 +1000 Subject: Re: threading From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396874103 news.xs4all.nl 2841 [2001:888:2000:d::a6]:56012 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69807 On Mon, Apr 7, 2014 at 10:26 PM, Roy Smith wrote: > In article , > Chris Angelico wrote: > >> 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? > > Whether something works well on Windows is really not something I worry > about a lot. It's a concern for some of us. Maybe one day supporting Windows will be like supporting Python 2.4 is now - something that only a few people do, and knowingly pay the complexity price for it - but for now, it's a fully-supported platform for a lot of Python software, so in a generic discussion, I'd say it's important to note it. Threading has NOT been entirely replaced with multiprocessing. ChrisA