mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
kernel: remove event_t as it suffered from a lost wakeup issue
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
#include <kernel/scheduler.h>
|
||||
#include <kernel/timekeeper.h>
|
||||
#include <logging.h>
|
||||
#include <event.h>
|
||||
#include <kernel/slab.h>
|
||||
#include <kernel/eth.h>
|
||||
#include <ringbuffer.h>
|
||||
@@ -26,7 +25,6 @@ typedef struct {
|
||||
static scache_t *entryallocator;
|
||||
|
||||
static thread_t *handlerthread;
|
||||
static event_t handlerthreadwakeup;
|
||||
|
||||
static thread_t *cleanupthread;
|
||||
|
||||
@@ -277,8 +275,6 @@ void arp_init() {
|
||||
cleanupthread = sched_newthread(cleanupthreadfn, PAGE_SIZE * 4, 0, NULL, NULL);
|
||||
__assert(cleanupthread);
|
||||
|
||||
EVENT_INIT(&handlerthreadwakeup);
|
||||
|
||||
MUTEX_INIT(&cachelock);
|
||||
|
||||
SEMAPHORE_INIT(&psem, 0);
|
||||
|
||||
Reference in New Issue
Block a user