A
alexl
Hello,
I am working on a big project with multiple work threads and one UI
thread,
In the UI thread i have some forms that use timers.
After a time of working on the application it hangs in 100% cpu.
the timer is used as a switch when an operation is needed meaning when
a button is clicked the operations occurs some time after the click.
When I debug it and see where it hangs it seems to hang on the setter
of the enabled property of the timer (m_timer.Enabled = false) . I
tried a workaround where i don't set the timer enabled but use a flag
but then it gets stuck on the ctor of the timer.
Did any1 got any problems like that and maybe solved them?? I'm
desperate here.... please help asap
thanks in advance
Alex
I am working on a big project with multiple work threads and one UI
thread,
In the UI thread i have some forms that use timers.
After a time of working on the application it hangs in 100% cpu.
the timer is used as a switch when an operation is needed meaning when
a button is clicked the operations occurs some time after the click.
When I debug it and see where it hangs it seems to hang on the setter
of the enabled property of the timer (m_timer.Enabled = false) . I
tried a workaround where i don't set the timer enabled but use a flag
but then it gets stuck on the ctor of the timer.
Did any1 got any problems like that and maybe solved them?? I'm
desperate here.... please help asap
thanks in advance
Alex