我正在编写一个需要使用Timers 的应用程序,但可能还有很多.System.Threading.Timer课程的可扩展性如何?文档只是说它"轻量级",但没有进一步解释.这些计时器是否被吸引到代表a处理所有回调的单个线程(或非常小的线程池)中Timer,或者每个Timer都有自己的线程?
Timer
System.Threading.Timer
我想另一种重新解释这个问题的方法是:如何System.Threading.Timer实施?
.net c# multithreading timer
.net ×1
c# ×1
multithreading ×1
timer ×1