Kernel - Added a per-thread timer object to reduce malloc use
[tpg/acess2.git] / KernelLand / Kernel / include / timers_int.h
1 /*
2  * Acess2 Kernel
3  * - By John Hodge (thePowersGang)
4  *
5  * include/timers_int.h
6  * - Timer internal header
7  * - Only for use by code that needs access to timer internals
8  */
9 #ifndef _KERNEL__TIMERS_INT_H_
10 #define _KERNEL__TIMERS_INT_H_
11
12 #include <timers.h>
13
14 // === TYPEDEFS ===
15 struct sTimer {
16         tTimer  *Next;
17         Sint64  FiresAfter;
18         void    (*Callback)(void*);
19         void    *Argument;
20 //      tMutex  Lock;
21         BOOL    bActive;
22 };
23
24 #endif
25

UCC git Repository :: git.ucc.asn.au