J
jeff
Greetings;
Newbie here, please forgive my ignorance of the vb.net
threading model.
I am developing a windows service which is driven by a
variable number of timers. All timers use the same event
handler, and each invocation sends a command to another
service. What are the threading considerations given
this scenario?
1. What happens in the main service if two timers fire at
virtually the same time? Should the timer event handler
spin off a new thread to command the downstream service?
2. What happens if the downstream service receives
additional commands before the original is done
processing? Should the downstream service spin off
threads to process as well?
TIA
Newbie here, please forgive my ignorance of the vb.net
threading model.
I am developing a windows service which is driven by a
variable number of timers. All timers use the same event
handler, and each invocation sends a command to another
service. What are the threading considerations given
this scenario?
1. What happens in the main service if two timers fire at
virtually the same time? Should the timer event handler
spin off a new thread to command the downstream service?
2. What happens if the downstream service receives
additional commands before the original is done
processing? Should the downstream service spin off
threads to process as well?
TIA