Add lock to semaphore
Add lock to timer list
only run timer list on CPU0
Add lock-free stack