Kernel: Add Semaphore to block threads

This commit is contained in:
Bananymous
2023-03-30 18:45:47 +03:00
parent c32584cca0
commit c8f05b4a7a
7 changed files with 129 additions and 7 deletions

View File

@@ -4,6 +4,7 @@
#include <kernel/Input/KeyEvent.h>
#include <kernel/Input/PS2Controller.h>
#include <kernel/Input/PS2Keymap.h>
#include <kernel/Semaphore.h>
namespace Kernel::Input
{
@@ -60,6 +61,8 @@ namespace Kernel::Input
State m_state { State::Normal };
Semaphore m_semaphore;
BAN::String m_name;
public: