document update.
Semaphore, Mutex, Critical section, SpinLock, Event
Encoding convert.