windows service timer - is it ticking when it shouldn't ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a windows service which is calling a routine every 5 seconds. If
certain criteria is met, it calls a function which performs certain database
operations such as calling stored procedures, etc.

The stored procedures being executed by the code take a few minutes to
execute and I have noticed that, during this execution time, the service
timer starts ticking again!

How can this be, when I am specifically not running the event as a thread?
 
A timer runs asynchronously. It stops when you tell it to stop, and it
starts when you tell it to start.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Who is Mighty Abbott?
A twin turret scalawag.
 
Back
Top