Thread Synchronization

Example of thread synchronizaiton, such as event, semaphore, mutex,
waitable timer.