B
Brian P
I have a service that is driven by a timer that fires every 5 seconds.
For the most part, it works fine. But every once in a while the timer
fires twice. In the log I can see that when it fires twice, there are
two threads running. This causes problems so I need to find a way to
fix it.
So, my question is, do I need to use a Monitor to lock in my
timer_elapsed event handler?
Thanks for any advice...
Brian
For the most part, it works fine. But every once in a while the timer
fires twice. In the log I can see that when it fires twice, there are
two threads running. This causes problems so I need to find a way to
fix it.
So, my question is, do I need to use a Monitor to lock in my
timer_elapsed event handler?
Thanks for any advice...
Brian