execute functions at precise time points

Are there opengl, glu or glut commands so I can execute subroutines at precise time points, e.g. every 10 seconds ?
needed for windows and SGI.

u have to use timers or performance counters