spin-wait based kernel timer (for futex() timeout) implementation

This commit is contained in:
Balazs Gerofi bgerofi@riken.jp
2012-11-28 15:22:53 +09:00
parent b59e36e1a5
commit 092069fd80
6 changed files with 121 additions and 19 deletions

View File

@@ -18,7 +18,7 @@
#include <affinity.h>
#include <time.h>
#define TIMER_CPU_ID 227
//#define TIMER_CPU_ID 227
struct timer {
uint64_t timeout;