1*7358Seric # include "sendmail.h" 2*7358Seric 3*7358Seric SCCSID(@(#)clock.c 3.1 07/05/82); 4*7358Seric 5*7358Seric /* 6*7358Seric ** TICK -- take a clock tick 7*7358Seric ** 8*7358Seric ** Someday this will have to do more complex event scheduling. 9*7358Seric ** 10*7358Seric ** Parameters: 11*7358Seric ** none. 12*7358Seric ** 13*7358Seric ** Returns: 14*7358Seric ** non-local through TickFrame. 15*7358Seric ** 16*7358Seric ** Side Effects: 17*7358Seric ** none. 18*7358Seric */ 19*7358Seric 20*7358Seric tick() 21*7358Seric { 22*7358Seric # ifdef DEBUG 23*7358Seric if (Debug > 0) 24*7358Seric printf("tick\n"); 25*7358Seric # endif DEBUG 26*7358Seric longjmp(TickFrame, 1); 27*7358Seric } 28