Hi,

My name is Stephen.  Could you please tell me whether events are fired
using the thread that raised the event, a new thread, or a thread from the
thread pool.  For example, what thread does a System.Timers.Timer Elapsed
event run on.  How can I find this out for each class, etc.  I am
developing an application using multiple serial communications ports and
timers, and this would help me determine whether I need to use multi-
threading.  If new or pooled threads are used to service events, then why
would I need to use multi-threading?  Currently, when I call Thread.Sleep
(10000) on the thread in the user interface, the rest of the application
in seperate classes, using timers and communication ports, keeps running.

Yours truly,

Stephen Bub

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to