[Mono-dev] Threads sleeping forever
tspink at gmail.com
Tue Jul 5 11:42:53 EDT 2011
On 5 July 2011 16:28, Darkiwi <pitikiwi_001 at hotmail.com> wrote:
> Yes, as my test is running, it updates the UI. The events are sent into a
> fifo which is depiled in the main thread's Application.Idle to avoid invoke
> If I remember well, I also tried commenting this but it did not solve my
> problem :-(
> I will run this test again, just to be sure.
Interesting - is it a lot of updates you're doing, via Application.Idle?
You might consider reworking your updates to using BeginInvoke and/or
Invoke to see if it's a problem with your Application.Idle approach.
Of course, if you disable any updating of the UI and you're still in
trouble, then it's unlikely that it's a problem with your UI update
However, thinking about what you've said - how are you synchronising the UI
update queue? You said you're pushing events into a FIFO - how is that FIFO
producer synchronised, WRT the Application.Idle consumer?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list