Subversion Repositories HelenOS-historic

Rev

Rev 623 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 623 Rev 788
Line 30... Line 30...
30
#define __TIMEOUT_H__
30
#define __TIMEOUT_H__
31
 
31
 
32
#include <arch/types.h>
32
#include <arch/types.h>
33
#include <typedefs.h>
33
#include <typedefs.h>
34
#include <synch/spinlock.h>
34
#include <synch/spinlock.h>
35
#include <list.h>
35
#include <adt/list.h>
36
 
36
 
37
#define us2ticks(us)    ((__u64)(((__u32) (us)/(1000000/HZ))))
37
#define us2ticks(us)    ((__u64)(((__u32) (us)/(1000000/HZ))))
38
 
38
 
39
typedef void (* timeout_handler_t)(void *arg);
39
typedef void (* timeout_handler_t)(void *arg);
40
 
40