Re: User interface thread
will guaraldi <[email protected]> Sun, 13 Nov 2005 10:48:53 -0600 (CST)
| Newsgroups | gmane.comp.games.mud.client.lyntin |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 13 Nov 2005, Eugene wrote: > > Shutting the lyntin down is a bit messy and has some races, so I > consider clarifying threading issues a bit. The code in question is > unnecessarily hairy by now. In regards to the first sentence, I haven't seen any issues with the existing UIs. So while I acknowledge there could be race conditions involved with exiting, I haven't seen any evidence of them. I think if I were to re-re-rewrite Lyntin, I'd do it with Twisted and not use threads at all. > I guess, if any UI module can tell it wants the main thread, and the > engine has no problems with it, then we could just as well run any UI in > the main thread. I hardly can imagine a toolkit that objects against > running in the main thread. Well, if there is an answer to that question, it'd hopefully be in the mailing list archives. I'm pretty sure I didn't architect it that way arbitrarily, but I don't remember more than that. /will ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php