Add WMutex.

Signed-off-by: Wiki Wang <wikiwang@live.com>