kernel: remove event_t as it suffered from a lost wakeup issue

This commit is contained in:
Matheus
2024-05-29 16:08:28 -03:00
parent 695e01e09f
commit 3093051a8b
9 changed files with 11 additions and 61 deletions
-4
View File
@@ -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);