debugging stage 3
added semaphore_list
stage 3
Stages 1, 2, completed; Stage 3 not completed
Merge branch 'master' into mainthread_in_ready

To replace the master with branch.