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


Groups > comp.lang.python > #77775 > unrolled thread

Thread-ID - how much could be?

Started byErvin Hegedüs <airween@gmail.com>
First post2014-09-11 21:30 +0200
Last post2014-09-11 21:30 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Thread-ID - how much could be? Ervin Hegedüs <airween@gmail.com> - 2014-09-11 21:30 +0200

#77775 — Thread-ID - how much could be?

FromErvin Hegedüs <airween@gmail.com>
Date2014-09-11 21:30 +0200
SubjectThread-ID - how much could be?
Message-ID<mailman.13939.1410463823.18130.python-list@python.org>
Hello,

I've made a long-time running daemon, which uses threads. Looks
like that works perfectly, now I'm looking at the exceptions :).

In the log, I found an interesting message:

Exception in thread Thread-82:
...

The main function allows 2 thread to run simultaniously, and if
the thread finished, then it joined with th.join(), where the
"th" is the thread item, derived from threading.Thread class.

My question is: how much thread ID could be totally? Is there any
maximum number? And if the thread reached that, what will be
done? Overlflowed? Couting from 0 again?


Thanks,


a.


-- 
I � UTF-8

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web