hey guys, I'm totally inexperienced in terms of threads, so here's my question:
How do threads work within an instance of an object, in particular, I'm working on a Windows Service.
So, my Service is basically an instance of an Object right?
So, say I have a System.Timers.Timer in my Service, and that fires an ElapsedEventHandler every 10 seconds.
Say each operation in the Timer event handler will take 1 minute to complete.
Does each event get handled by a different thread?
If so, how do the properties of my object react to this? Are properties shared across threads?
What is the thread limit? do they run out? and if so, what happens when the Timer Event fires, and all the threads are taken up?
thank so much, I particularly interested in how the properties are shared across threads?? if thats what happens.
cheers!