Convert iomux to use an UCoreClock

This commit is contained in:
Nils O. Selåsdal
2013-03-02 21:42:19 +01:00
parent b0e9988aa5
commit 54678cf94b
3 changed files with 23 additions and 10 deletions
+5 -3
View File
@@ -9,10 +9,12 @@ struct IOMux {
/* TImer instance */
struct UCTimers timers;
/* Current time. Updated before calling run_impl, and updated
* by iomux_timers_run
/**
* Clock used for driving timers, and
* providing timeouts for the mux
*/
struct timeval now;
struct UCoreClock *uclock;
/* Used by mux implementations to hold their own data/instance */
void *instance;