static void set_ignore_all_locks(bool enable) { if (nullptr == held_locks_.get()) { held_locks_.reset(new held_locks_data()); } detail::register_locks::held_locks_data* m = held_locks_.get(); HPX_ASSERT(nullptr != m); m->ignore_all_locks_ = enable; }
static bool get_ignore_all_locks() { if (nullptr == held_locks_.get()) { held_locks_.reset(new held_locks_data()); } detail::register_locks::held_locks_data* m = held_locks_.get(); HPX_ASSERT(nullptr != m); return !m->ignore_all_locks_; }
static void reset_held_lock_data() { held_locks_.reset(); }