Exemple #1
0
            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;
            }
Exemple #2
0
            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_;
            }
Exemple #3
0
 static void reset_held_lock_data()
 {
     held_locks_.reset();
 }