Move wakeup into the main thread to remove complexity. Looks like CLOCK_MONOTONIC_COARSE doesn't need a syscall.

This commit is contained in:
Ian Gulliver
2016-02-22 14:37:00 -08:00
parent 70cfaa94aa
commit f255170967
5 changed files with 53 additions and 130 deletions

View File

@@ -4,4 +4,6 @@ struct peer;
void wakeup_init();
void wakeup_cleanup();
int wakeup_get_delay();
void wakeup_dispatch();
void wakeup_add(struct peer *, uint32_t);