exercise about semaphore
some exercise about pthread
mutex about thread