Re: [Anygui-devel] [[email protected]: window creation doesn't work after some socket calls in msw]

Thomas Heller <[email protected]> 09 May 2003 13:04:29 +0200
Newsgroups gmane.comp.python.anygui.general
Message-ID <[email protected]>
Magnus Lie Hetland <[email protected]> writes:

> Does anyone have an answer to this? (The poster is not, AFAIC, a member
> of either Anygui list, so please Cc.)
> 
> From: "sum trix" <[email protected]>
> Subject: [Anygui-users] window creation doesn't work after some socket calls in msw
> To: [email protected]
> Date: Fri, 09 May 2003 01:38:35 +0000
> 
> 
> The window created after accept() appears and dissappears instantly in msw 
> on Windows. Sometimes the window appears in a "hanged" state and doesn't 
> respond to its event queue. It seems to work in tk, but I had similar code 
> with a SOCK_DGRAM that would hang in msw and tk when creating a window after 
> recv().
> 
> Is this a problem with specific backends or creating windows in a thread?

AFAIK, this belongs in the category "don't do this".
The gui should run in only *one* thread.

Thomas



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com