scheduler: continue rework

This commit is contained in:
Matheus
2025-08-20 22:00:25 -03:00
parent 5098c09f26
commit 136c86354c
26 changed files with 348 additions and 154 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef _BITMAP_H
#define _BITMAP_H
#include <stddef.h>
typedef struct {
long *data;
size_t size;
} bitmap_t;
int bitmap_init(bitmap_t *bitmap, size_t size);
void bitmap_set(bitmap_t *bitmap, long idx, int v);
long bitmap_find_first_set(bitmap_t *bitmap, long start_offset);
#endif