Provide wrappers for grabbing of thr value under the mining_thr_lock.