Skip to content

Class parallel_query::interrupt

ClassList > parallel_query > interrupt

  • #include <px_interrupt.hpp>

Public Types

Type Name
enum interrupt_code

Public Attributes

Type Name
std::atomic< interrupt_code > m_code

Public Functions

Type Name
void clear () noexcept
interrupt_code get_code () noexcept const
interrupt (interrupt_code code)
interrupt ()
void set_code (interrupt_code code) noexcept

Public Types Documentation

enum interrupt_code

enum parallel_query::interrupt::interrupt_code {
    NO_INTERRUPT,
    USER_INTERRUPTED_FROM_MAIN_THREAD,
    USER_INTERRUPTED_FROM_WORKER_THREAD,
    ERROR_INTERRUPTED_FROM_MAIN_THREAD,
    ERROR_INTERRUPTED_FROM_WORKER_THREAD,
    INST_NUM_SATISFIED,
    JOB_ENDED
};

Public Attributes Documentation

variable m_code

std::atomic<interrupt_code> parallel_query::interrupt::m_code;

Public Functions Documentation

function clear

inline void parallel_query::interrupt::clear () noexcept

function get_code

inline interrupt_code parallel_query::interrupt::get_code () noexcept const

function interrupt [1/2]

inline parallel_query::interrupt::interrupt (
    interrupt_code code
) 

function interrupt [2/2]

inline parallel_query::interrupt::interrupt () 

function set_code

inline void parallel_query::interrupt::set_code (
    interrupt_code code
) noexcept


The documentation for this class was generated from the following file cubrid/src/query/parallel/px_interrupt.hpp