|
inline |
Waits until any currently running worker job has completed and then returns a lock with locked mutex to the caller, ensuring that no further worker jobs can start.
References syten::logGW(), syten::AsyncCached< Type >::mtex, std::this_thread::sleep_for(), and syten::AsyncCached< Type >::worker_is_running.
Referenced by syten::AsyncCached< Type >::delete_file(), syten::AsyncCached< Type >::load(), and syten::AsyncCached< Type >::save().