home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
code_examples
/
timer
/
timer.h
< prev
Wrap
C/C++ Source or Header
|
1991-01-10
|
539b
|
26 lines
/**************************************
* TIMER.H 08/04/90
* Written by Timm Martin
* This source code is public domain.
***************************************/
#ifndef TIMER_H
#define TIMER_H
#ifndef EXEC_PORTS_H
#include <exec/ports.h>
#endif
#define MICROS_PER_SEC 1000000L
extern struct MsgPort *timer_port;
extern void timer_abort( void );
extern void timer_close( void );
extern BOOL timer_open( void );
extern void timer_start( long micros );
extern BOOL timer_test( void );
extern void timer_wait( long micros );
#endif