mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
poll: remove scheduler include
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
#ifndef _POLL_H
|
#ifndef _POLL_H
|
||||||
#define _POLL_H
|
#define _POLL_H
|
||||||
|
|
||||||
#include <kernel/scheduler.h>
|
|
||||||
#include <spinlock.h>
|
#include <spinlock.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
struct polldata;
|
struct polldata;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
thread_t *thread;
|
struct thread_t *thread;
|
||||||
spinlock_t lock;
|
spinlock_t lock;
|
||||||
spinlock_t eventlock;
|
spinlock_t eventlock;
|
||||||
spinlock_t wakeuplock;
|
spinlock_t wakeuplock;
|
||||||
|
|||||||
Reference in New Issue
Block a user