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


Groups > comp.lang.python > #38308

Re: each process only has one main thread ,right ?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <cameron@cskk.homeip.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'say,': 0.05; 'seemed': 0.07; 'handlers': 0.09; 'subject:process': 0.09; 'cc:addr:python- list': 0.10; 'thread': 0.11; 'breeding': 0.16; 'carefully.': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'ibm.': 0.16; 'message- id:@cskk.homeip.net': 0.16; 'received:202.125.174': 0.16; 'received:202.125.174.133': 0.16; 'received:boardofstudies.nsw.edu.au': 0.16; 'received:cskk.homeip.net': 0.16; 'received:edu.au': 0.16; 'received:harvey.boardofstudies.nsw.edu.au': 0.16; 'received:homeip.net': 0.16; 'received:nsw.edu.au': 0.16; 'simpson': 0.16; 'thread.': 0.16; 'threads': 0.16; 'wrote:': 0.17; 'saying': 0.18; 'cc:2**0': 0.23; 'seems': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'ibm': 0.27; 'run': 0.28; 'words': 0.29; '"the': 0.29; "we're": 0.30; 'usually': 0.30; 'subject: ?': 0.30; 'done': 0.34; 'robert': 0.35; 'but': 0.36; 'received:au': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'where': 0.40; 'skip:" 10': 0.40; 'content-disposition:inline': 0.60; 'times': 0.63; 'making': 0.64; 'learned': 0.65; 'sit': 0.65; 'nouns,': 0.84; 'single,': 0.84; 'angel': 0.93
Date Thu, 7 Feb 2013 09:31:18 +1100
From Cameron Simpson <cs@zip.com.au>
To Dave Angel <d@davea.name>
Subject Re: each process only has one main thread ,right ?
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <51126FC3.2050101@davea.name>
User-Agent Mutt/1.5.21 (2010-09-15)
References <51126FC3.2050101@davea.name>
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 <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.1427.1360189888.2939.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360189888 news.xs4all.nl 6865 [2001:888:2000:d::a6]:44993
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38308

Show key headers only | View raw


On 06Feb2013 09:59, Dave Angel <d@davea.name> wrote:
| The only place I now of where we care whether a particular thread in a 
| process is "the main thread" is with a gui, which usually can only sit 
| in a single, "main" thread.  Any gui-related processing done in other 
| threads must be done very carefully.

Single handlers run in the "main thread". So yes, we care if we're
multithreaded.
-- 
Cameron Simpson <cs@zip.com.au>

But I have to say, I "non-concur." (Non-concur was a term I learned at
IBM. IBM seemed to be a breeding ground for making up words and
phrases, turning verbs into nouns, etc. "Non-concur" seems to be for
those times when saying "I disagree" just isn't strong enough!)
        - Robert D. Seidman <robert@clark.net>

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


Thread

Re: each process only has one main thread ,right ? Cameron Simpson <cs@zip.com.au> - 2013-02-07 09:31 +1100

csiph-web