Help on the System.timer.timer class in c# (the server timer class)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • inlovewithmusic
    New Member
    • Nov 2006
    • 14

    Help on the System.timer.timer class in c# (the server timer class)

    Hi ,

    I have a simple question regarding this class, in a program if you create
    two timers and start them one by one, do each of the times use a separate
    thread automatically ?, or will they be using the same thread ?.

    Regards
    Jaic
  • yasirmturk
    New Member
    • Aug 2008
    • 15

    #2
    System.timer.ti mer class use a seperate thread from the thread pool

    Thanx

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      The timer under System.Timers is not as thread-independant as System.Threadin g.timer

      Generates an event after a set interval, with an option to generate recurring events.

      Comment

      Working...