So I'm using the .net System.Timers.Timer class. Seems to work great. Except for the fact that if the timer interval elapses before it's done the first time, it launches the method again. It's re-entrant. By default. If you don't finish by the time it triggers again, why in God's name would you want to go into it again??? You'll only get further behind! I could understand "go into it again ASAP" as a behavior, but re-entrant? WHY???
The stupidest part here is there's even a note in the documentation about this and a rather long example in the Stop() method doc on how to implement a flag to work around this. Why don't you just provide a "Reentrant" property you can set to false? C'mon MS! You don't even need to change the default behavior, just provide one more property for us!
Grr.
The stupidest part here is there's even a note in the documentation about this and a rather long example in the Stop() method doc on how to implement a flag to work around this. Why don't you just provide a "Reentrant" property you can set to false? C'mon MS! You don't even need to change the default behavior, just provide one more property for us!
Grr.