1. 条件变量是用来发信号的,并不是用于互斥访问。
2. 使用条件变量时,需要注意Spurious wakeups。
Ref: http://www.cnblogs.com/leaven/archive/2010/06/03/1750973.html