HPX - High Performance ParalleX

PrevUpHomeNext

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

namespace hpx {
  namespace threads {
    enum thread_state_enum;
    enum thread_priority;
    enum thread_state_ex_enum;

    enum thread_stacksize { thread_stacksize_unknown =  -1, 
                            thread_stacksize_small =  1, 
                            thread_stacksize_medium =  2, 
                            thread_stacksize_large =  3, 
                            thread_stacksize_huge =  4, 
                            thread_stacksize_default =  thread_stacksize_small, 
                            thread_stacksize_minimal =  thread_stacksize_small, 
                            thread_stacksize_maximal =  thread_stacksize_huge };

    typedef unspecified thread_state;
    typedef unspecified thread_state_ex;
    char const * get_thread_state_name(thread_state_enum state);
    char const * get_thread_priority_name(thread_priority priority);
    char const * get_stack_size_name(std::ptrdiff_t size);
  }
}

PrevUpHomeNext