* Fixed a bug when notify condition variables