-add posix condition variable
-add unit test for monitor (result : Pass)