Proposals:

1) Smth like Python's "threadqueue" as multiple threads where each of
has same OnExecute procedure but with per-thread data/object to
process. With priorities within the queue, sure.
[suitable for multiple file uploading..]

2) maintaining thread variables so that they can be accessed by main
app thread - in some scenarios it'll allow polling these variables
instead of deadlock-prone locking/unlocking.


2012/7/25, Ivanko B <ivankob4m...@gmail.com>:
>> Most GUI
>> frameworks recommend/dictate that ALL gui work must be done within the
>> main thread
> ===============
> Even stepping/resizing progress bars ? How ?
>
>
> 2012/7/25, Ivanko B <ivankob4m...@gmail.com>:
>> Probably I made extensions in
>>  window state tracking code which can deadlock.
>> ===============
>> Sure, the multi platform MSEgui should consistently provide same
>> features for all supported platforms :)
>>
>>
>>
>> 2012/7/25, Martin Schreiber <mse00...@gmail.com>:
>>> 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
>>>
>>
>

------------------------------------------------------------------------------
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