C# service

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Proogeren
    New Member
    • May 2007
    • 36

    #1

    C# service

    Hello
    I have created a service that run every 1 minute.. In UpdateTimer_Ela psed I do some database stuff...
    I was wondering what will happen if the UpdateTimer_Ela psed takes more then 1 minute to finish?
    My service use db, so if two instances of the program run at the same time my program will crash.

    Can anyone explain me this

    tnx
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Interesting, you asked and answered a question. I think you'll find you could manage this process through the use of threads.

    Comment

    Working...