home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
emacs-19.28-src.tgz
/
tar.out
/
fsf
/
emacs
/
unixlib
/
include
/
internal
/
timers.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-28
|
478b
|
21 lines
#ifndef TIMERS_H
#define TIMERS_H
struct timeinfo {
struct timerequest *io;
int sent;
};
struct timeinfo *_alloc_timer(void);
void _free_timer(struct timeinfo *timer);
void _timer_abort(struct timeinfo *timer);
ULONG _timer_sig(struct timeinfo *timer);
void _timer_start(struct timeinfo *timer, int secs, int micros);
/* _timer_start(timer, 0) stops a timer */
int _timer_expired(struct timeinfo *timer);
/* A non-started timer is defined to not have expired */
#endif