use std::mutex if LIBJ_USE_CXX11 is ON
use std::condition_variable if LIBJ_USE_CXX11 is ON