Semaphore kernel
Signed-off-by: Kristofer Ard <kristoferard@gmail.com>