From 435f935523164a482f3eb8578565973f3c9f41e0 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Tue, 12 Nov 2019 16:56:22 +0100 Subject: [PATCH] Change register_* calls from hpx::applier to hpx::threads namespace --- src/util/interval_timer.cpp | 2 +- src/util/one_size_heap_list.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;