J
Jason
Hi all
just a quick question. I have a windows service with a "Catalogue" class.
I would like to know: if i put two "ServiceTimer" objects in my service
1. Do they run in separate threads (i have never threaded before, so
excuse my ignorance)
2. If i have instances of the catalogue class in both those timers, will
there be an error?
for example, if Timer1 loops every 10 mins, and Timer2 loops every 3
minutes, if at any one time they overlap, would it throw an exception?
3. Should I have a global variable for my catalogue class instance, or
should they be local to each timer?
Thanks
Jason
just a quick question. I have a windows service with a "Catalogue" class.
I would like to know: if i put two "ServiceTimer" objects in my service
1. Do they run in separate threads (i have never threaded before, so
excuse my ignorance)
2. If i have instances of the catalogue class in both those timers, will
there be an error?
for example, if Timer1 loops every 10 mins, and Timer2 loops every 3
minutes, if at any one time they overlap, would it throw an exception?
3. Should I have a global variable for my catalogue class instance, or
should they be local to each timer?
Thanks
Jason