On Wednesday 25 July 2012 09:50:35 Graeme Geldenhuys wrote:
> On 25 July 2012 05:19, Martin Schreiber <mse00...@gmail.com> wrote:
> >> It makes error reporting more complicated (global error codes etc).
> >
> > True, but the Windows architecture dictates constraints. I am not sure if
> > all problems can be solved. On Linux it could work.
>
> It's not just Windows, other OSes have the same restrictions. Most GUI
> frameworks recommend/dictate that ALL gui work must be done within the
> main thread. Other threads can be used for any non-GUI work. This is
> quite normal behaviour in most, if not all, GUI frameworks. In fact, I
> don't think I know of any GUI framework which works otherwise.

Although it is not recommended, MSEgui on Linux can access X11 from worker 
threads, the necessary lock infrastructure is implemented. IIRC it worked on 
Widows too. I must check what has been broken. Probably I made extensions in 
window state tracking code which can deadlock.

Martin

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to