[Mono-dev] Threads and X-Windows?

Rob Wilkens robwilkens at gmail.com
Wed May 30 19:56:16 UTC 2012

I'm troubleshooting a problem in System.Windows.Forms (or an application 
which uses it):

Does anyone know of problems where messages processed from thread a 
can't reach a window created in thread b?  That is, if thread a is 
processing messages, those messages don't reach the windows created in 
thread b?  By messages, i mean things like WM_CLOSE and WM_PAINT (or 
invalidate? or whatever the equivalents are)...  (Messages that are 
processed, in theory, by Application.Run() in thread a)...

I'm trying to figure out if this is an X11 issue or a mono issue..  I'm 
thinking depending on how the day goes i may break from troubleshooting 
this soon.

Before you say this is a bad idea (multiple threads creating windows) 
keep in mind this was code in a problem report and In windows .net 
messages processed in thread a reach windows created in thread b without 
issue.  At least as far as i can tell.

More information about the Mono-devel-list mailing list