Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78379 > unrolled thread
| Started by | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| First post | 2014-09-26 07:47 -0600 |
| Last post | 2014-09-26 07:47 -0600 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: joining thread hangs unexpectedly Ian Kelly <ian.g.kelly@gmail.com> - 2014-09-26 07:47 -0600
| From | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| Date | 2014-09-26 07:47 -0600 |
| Subject | Re: joining thread hangs unexpectedly |
| Message-ID | <mailman.14394.1411739717.18130.python-list@python.org> |
On Thu, Sep 25, 2014 at 11:45 PM, Christian Calderon <calderon.christian760@gmail.com> wrote: > I am working on a personal project that helps minecraft clients connect to > minecraft servers using tor hidden services. I am handling the client > connection in a separate thread, but when I try to join the threads they > hang. The problem is in the file called hiddencraft.py, in the function main > at the end, in the finally clause at the bottom. Can anyone tell me what I > am doing wrong? > > https://github.com/ChrisCalderon/hiddencraft You're creating a separate Queue for each thread but when you store each one in the queue_ variable you're replacing the previous one, so when you go to kill them you only ever send the die command to the last thread created.
Back to top | Article view | comp.lang.python
csiph-web