HPX

PrevUpHomeNext

Header <hpx/runtime/threads/thread_data_fwd.hpp>

namespace hpx {
  namespace threads {
    thread_self & get_self();
    thread_self * get_self_ptr();
    thread_self_impl_type * get_ctx_ptr();
    thread_self * get_self_ptr_checked(error_code & = throws);
    thread_id_type get_self_id();
    thread_id_repr_type get_parent_id();
    std::size_t get_parent_phase();
    std::size_t get_self_stacksize();
    std::uint32_t get_parent_locality_id();
    std::uint64_t get_self_component_id();
    std::int64_t get_thread_count(thread_state_enum = unknown);
    std::int64_t 
    get_thread_count(thread_priority, thread_state_enum = unknown);
    bool enumerate_threads(util::function_nonser< bool(thread_id_type)> const &, 
                           thread_state_enum = unknown);
  }
}

PrevUpHomeNext