diff --git a/src/util/interval_timer.cpp b/src/util/interval_timer.cpp index ee0670b02782..68712a5474b0 100644 --- a/src/util/interval_timer.cpp +++ b/src/util/interval_timer.cpp @@ -250,7 +250,7 @@ namespace hpx { namespace util { namespace detail // lock here would be the right thing but leads to crashes and hangs // at shutdown. //util::unlock_guard > ul(l); - id = hpx::applier::register_thread_plain( + id = hpx::threads::register_thread_plain( util::bind_front(&interval_timer::evaluate, this->shared_from_this()), description_.c_str(), threads::suspended, true, diff --git a/src/util/one_size_heap_list.cpp b/src/util/one_size_heap_list.cpp index c3277ccc118c..6b95e69c75e2 100644 --- a/src/util/one_size_heap_list.cpp +++ b/src/util/one_size_heap_list.cpp @@ -157,7 +157,7 @@ namespace hpx { namespace util { if (nullptr == threads::get_self_ptr()) { - hpx::applier::register_work_nullary( + hpx::threads::register_work_nullary( util::bind_front(&one_size_heap_list::free, this, p, count), "one_size_heap_list::free"); return true;