evsched: fix race condition, remove callback
Compare changes
Files
+ 12
− 11
@@ -85,9 +85,7 @@ static int evsched_run(dthread_t *thread)
@@ -180,14 +178,15 @@ void evsched_event_free(event_t *ev)
@@ -201,7 +200,7 @@ int evsched_schedule(event_t *ev, uint32_t dt)
@@ -213,17 +212,19 @@ int evsched_cancel(event_t *ev)
@@ -240,7 +241,7 @@ void evsched_stop(evsched_t *sched)