Windows timers - how do they work? -
i know until windows 7 standard kernel ticks each 15.6 ms, , can modified using timebeginperiod , timeendperiod. win 8 kernel apparently made tickless.
but information can not infer on how timers work. can imagine, there routine checking every 15.6 ms (or whatever current resolution is, , win8+, idk) within sorted list containing active timers' desired notification times, expressed in ms elapsed since system start. need check first few timers (until finds timer not ready yet) notify correct client, und re-insert list @ proper position next timing event.
this conceptionally, folks @ ms surely pondered longer time me, can not find information it. (maybe there little man sitting in kernel doing task?)
so, if knows how gets done, appreciate explanation. links welcome.
thanks time!
Comments
Post a Comment