Re: A beginner's question on thread
From: Timothy Wu (huggiepython_at_graffiti.idv.tw)
Date: 04/06/04
- Next message: Rob Dijkshoorn: "building Tkinter on AIX"
- Previous message: Christos : "Re: Prothon Prototypes vs Python Classes"
- In reply to: Aurelio Martin: "Re: A beginner's question on thread"
- Next in thread: Roger Binns: "Re: A beginner's question on thread"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 06 Apr 2004 18:00:33 +0800 To: python-list@python.org
Aurelio Martin wrote:
> Well, when the user wants to exit, the main thread could open a socket
> connection to the server thread, and send a special message telling it
> to stop.
>
> The server thread would have to distinguish between normal connections
> from clients and special connections from the main thread.
>
> Hope this helps
>
> Aurelio
I've thought about doing that and I thought that was more of a hack.
Is it the proper way to handle it?
Timothy
- Next message: Rob Dijkshoorn: "building Tkinter on AIX"
- Previous message: Christos : "Re: Prothon Prototypes vs Python Classes"
- In reply to: Aurelio Martin: "Re: A beginner's question on thread"
- Next in thread: Roger Binns: "Re: A beginner's question on thread"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]