Fix warning
Prepare spinlock implementation
Handle state of processes
Fix state switching
Basic implementation of semaphore
Clean the code using a lock guard
Finalize code
Remove old TODO
Cleanup TODOS