Add basic atomic operations which will be used in locking-mechanisms.
add a basic spinlock, which based on a ticket lock
add basic functions to block and to unblock a task
add semaphore, which does not base busy-waiting
add an example for the usage of a semaphore