cpp/thread/shared timed mutex/unlock