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 ?

Date 2013-02-07 09:31 +1100
From Cameron Simpson <cs@zip.com.au>
Subject Re: each process only has one main thread ,right ?
References <51126FC3.2050101@davea.name>
Newsgroups comp.lang.python
Message-ID <mailman.1427.1360189888.2939.python-list@python.org> (permalink)

Show all headers | 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