Start of wakeup framework.

This commit is contained in:
Ian Gulliver
2016-02-18 09:33:32 -08:00
parent 820d5d6192
commit 6ac29e9704
4 changed files with 28 additions and 3 deletions

14
wakeup.c Normal file
View File

@@ -0,0 +1,14 @@
#include <assert.h>
#include <unistd.h>
#include "common.h"
#include "wakeup.h"
void wakeup_init() {
int pipefd[2];
assert(!pipe(pipefd));
}
void wakeup_add(struct peer *peer, int delay_ms) {
}