المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : System.Threaading.Timer not firing



C# Programming
01-26-2010, 09:21 PM
I've got a small C# app that runs as a service on a Windows 2003 SP2 server. It has a main thread that loops and checks and processes socket IO, a secondary thread that does a listen for incoming connects, and System.Threading.Timer. For some reason, in the last few days, the app timer has NOT been getting triggered. I've put some comments in the code, restarted it, etc and definitely confirmed that the callback function is not getting called. Has anyone else run into this? How did you resolve it? I found some info via Google that mentioned problems with Windows 2003 SP1, but that doesn't seem like it would affect me since I'm running SP2.


?El diablo est? en mis pantalones! ?Mire, mire!
SELECT * FROM User WHERE Clue > 0
0 rows returned
Save an Orange - Use the VCF! (http://vcf-online.org)
Personal 3D projects (http://learning3dfromscratch.blogspot.com/)
Just Say No to Web 2 Point Blow