Thank you, but I think it may be not this reason.

You see, when accept returns, the go_on will be checked in 'while
go_on:', so if it is set to be false, the loop will end. I have set a
0.5 second time out on the select() function. So the 'go_on' will be
checked at a frequency every 0.5 second at least.




Pelmen wrote:
> your main loop already on accept when your thread change the go_on imho
> try to input another string after 'quit'
> 
> and actually there is no need to use thread

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to