MySQL 8.0.39
Source Code Documentation
|
Thread related context information. More...
#include <row0pread.h>
Public Member Functions | |
Thread_ctx (size_t id) noexcept | |
Constructor. More... | |
~Thread_ctx () noexcept | |
Destructor. More... | |
template<typename T > | |
void | set_callback_ctx (T *ctx) noexcept |
Set thread related callback information. More... | |
template<typename T > | |
T * | get_callback_ctx () noexcept |
Get the thread related callback information/. More... | |
void | create_blob_heap () noexcept |
Create BLOB heap. More... | |
State | get_state () const noexcept |
void | savepoint () noexcept |
Save current position, commit any active mtr. More... | |
dberr_t | restore_from_savepoint () noexcept |
Restore saved position and resume scan. More... | |
Thread_ctx (Thread_ctx &&)=delete | |
Thread_ctx (const Thread_ctx &)=delete | |
Thread_ctx & | operator= (Thread_ctx &&)=delete |
Thread_ctx & | operator= (const Thread_ctx &)=delete |
Public Attributes | |
size_t | m_thread_id {std::numeric_limits<size_t>::max()} |
Thread ID. More... | |
void * | m_callback_ctx {} |
Callback information related to the thread. More... | |
mem_heap_t * | m_blob_heap {} |
BLOB heap per thread. More... | |
State | m_state {State::UNKNOWN} |
Worker thread state. More... | |
PCursor * | m_pcursor {} |
Current persistent cursor. More... | |
Thread related context information.
|
inlineexplicitnoexcept |
Constructor.
[in] | id | Thread ID |
|
inlinenoexcept |
Destructor.
|
delete |
|
delete |
|
inlinenoexcept |
Create BLOB heap.
|
inlinenoexcept |
Get the thread related callback information/.
|
inlinenoexcept |
|
delete |
|
delete |
|
noexcept |
Restore saved position and resume scan.
|
noexcept |
Save current position, commit any active mtr.
|
inlinenoexcept |
Set thread related callback information.
[in] | ctx | callback context |
mem_heap_t* Parallel_reader::Thread_ctx::m_blob_heap {} |
BLOB heap per thread.
void* Parallel_reader::Thread_ctx::m_callback_ctx {} |
Callback information related to the thread.
PCursor* Parallel_reader::Thread_ctx::m_pcursor {} |
Current persistent cursor.
State Parallel_reader::Thread_ctx::m_state {State::UNKNOWN} |
Worker thread state.
size_t Parallel_reader::Thread_ctx::m_thread_id {std::numeric_limits<size_t>::max()} |
Thread ID.