Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'suppose': 0.07; 'sys': 0.07; 'cc:addr:python-list': 0.11; 'question.': 0.14; 'thread': 0.14; 'calculates': 0.16; 'subject:Thread': 0.16; 'threads.': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'wrote:': 0.18; 'import': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'header:User-Agent:1': 0.23; 'cheers,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply- To:1': 0.27; '>>>>': 0.31; "d'aprano": 0.31; 'sep': 0.31; 'steven': 0.31; 'another': 0.32; 'fri,': 0.33; 'skip:_ 10': 0.34; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'ram': 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'so,': 0.37; '12,': 0.39; 'most': 0.60; 'from:charset:utf-8': 0.61; 'simply': 0.61; 'content-disposition:inline': 0.62; 'received:86': 0.91; 'subject:much': 0.91; 'received:hu': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=5FoUWJnOSCM2aDg67cz0h4xyfWxK6g75DZAWhQEh2Io=; b=wzlyYJnuD0hdwBm6Q10LVbDED9WrJEeAe3BY1apVFI2S2diuWI3Y53YLRW26vQ6YrH en/MOjAQ7zqp9JH38bMtksVOU88I84e1Cfl/hq2r2u2jdN6r9gJMjRqg9qUrDjxKIc2w Z1A3j0+7t9iq8B6xpsdGs8MIIZvAMsPfd/Z05Gz7X7fn3PJopAZgfcdwBzWf6M20rqed xZh2sTLM8lJb943GRCFe/o3VfRRmWfonAzwvD8hyZebqEPs5xHQndeZcpzTZHp07fi/n +RckmpWhxGOOOUaKptF0OQ4fDUAeNX84DBRWjHGCAyYyr7eVh8vUQPrJ0WykS1aUJc5K n5fw== X-Received: by 10.180.188.70 with SMTP id fy6mr13831938wic.25.1410503337842; Thu, 11 Sep 2014 23:28:57 -0700 (PDT) Date: Fri, 12 Sep 2014 08:30:41 +0200 From: Ervin =?utf-8?Q?Heged=C3=BCs?= To: Steven D'Aprano Subject: Re: Thread-ID - how much could be? References: <20140911193018.GA24416@arxnet.hu> <54124c95$0$29991$c3e8da3$5496439d@news.astraweb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <54124c95$0$29991$c3e8da3$5496439d@news.astraweb.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: python-list@python.org 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: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1410503345 news.xs4all.nl 2956 [2001:888:2000:d::a6]:45941 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:77800 Hi Steven, On Fri, Sep 12, 2014 at 11:29:56AM +1000, Steven D'Aprano wrote: > >>>> import sys > >>>> print sys.maxint > > 9223372036854775807 > > > > the couter could be 9223372036854775807? > > > > And after? :) > > Suppose you somehow managed to create 9223372036854775807 threads. If your > computer has 16 GB of RAM available, that means that at most each thread > can use: so, thanks for your and others answers - this was just a _theoretical_ question. What is the practice - that's an another thread. :) I just simply interested about this theory, not more. I don't care with-how-many-memories-needs-and-how-many-years-to-overflow that counter, but many people calculates that - thanks :) Cheers, a.