cpp/thread/shared timed mutex/lock