It's not a thread, it's an interrupt handler. Windows (on x86) uses the real-time clock's periodic timer, which can be made to tick at any power-of-two frequency between 1 Hz and 32768 Hz.
Is that interrupt handler installed for every process that needs the timer? Or is there only one handler globally?
So to implement a clock, they are using a different thread that updates a counter every millisecond or so? Isn't this a bit inefficient?