poll: fix interruptible sleep

This commit is contained in:
Matheus
2024-04-14 12:06:08 -03:00
parent c3f508b994
commit f19f784694
3 changed files with 10 additions and 6 deletions
+1
View File
@@ -10,6 +10,7 @@ typedef struct {
thread_t *thread;
spinlock_t lock;
spinlock_t eventlock;
spinlock_t wakeuplock;
struct polldata *data;
struct polldata *event;
size_t size;