cpp/thread/recursive timed mutex/lock