File:  [MW Coherent from dump] / coherent / f / usr / man / KERNEL / timeout
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:40 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

ttiimmeeoouutt() -- Accessible Kernel Routine

#iinncclluuddee <ssyyss/ttiimmeeoouutt.hh>
vvooiidd
ttiimmeeoouutt(_t_p, _n, _f_u_n_c_t_i_o_n, _a)
TTIIMM *_t_p;
iinntt _n;
iinntt (*_f_u_n_c_t_i_o_n)();

ttiimmeeoouutt() sets _f_u_n_c_t_i_o_n to be called  with integer argument _a after _n clock
ticks.  _t_p  points to a timing  structure to insert into  the timing queue.
The timing  structure must  be a static  structure located in  the kernel's
data  segment.  Any  previous  activation of  a  timer on  the same  timing
structure will be cancelled.

Calling ttiimmeeoouutt() with  _f_u_n_c_t_i_o_n set to NULL will cancel  a timer.  A timed
function should never sleep or alter the contents of the uu structure.

_S_e_e _A_l_s_o
aacccceessssiibbllee kkeerrnneell rroouuttiinneess

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.