Block a user
e729c38200
Merge pull request 'Add an Option type and get rid of ENONE' (#19) from optionals-and-empty-errors into restart
b9f3d3c349
Remove ENONE
da104c87cb
Heap: Return Option in split()
b6173e2b67
LinkedList: Return Option instead of ENONE if no value
406af68a54
Result: Use Option as backend
Add an Option type and get rid of ENONE
b9f3d3c349
Remove ENONE
da104c87cb
Heap: Return Option in split()
b6173e2b67
LinkedList: Return Option instead of ENONE if no value
406af68a54
Result: Use Option as backend
b58eba63f1
Add a new Option class which behaves like Result, but has no error number, just a value or no value
416e96c4d5
Merge pull request 'Add a basic scheduler with threads' (#18) from threads into restart
d93d95f23c
Add sleeping mechanism
757cee4693
Add accessors for when you're sure a linked list is not empty
70497c37fb
Check for runnable threads
57517252d8
Add a state to Thread
WIP: Add a basic scheduler with threads
48fe2d4b04
Initialize and demo the scheduler
c561b0b310
x86_64: Invoke the scheduler every millisecond
f97e392f89
Add a Scheduler!!
ad11aa719e
Add a Thread class which can be part of a DoublyLinkedList
b9b7d1e201
KernelVM: clean up a bit
8c04788793
Add a Stack convenience class
c5476115df
CPU.h: pragma once
b93a208f22
Make idle_loop noreturn
98a55b2c13
Bitmap: Fix crash by attempting to memset -1 bits (UINT64_MAX)
3248041aef
Bitmap: short circuit on 0-byte clears
beab3454b5
kernel: Enable -Wsign-conversion and -Wcast-align
1badc40a4a
Run include-what-you-use everywhere