Move wakeup into the main thread to remove complexity. Looks like CLOCK_MONOTONIC_COARSE doesn't need a syscall.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user