Struct ThreadContext

Struct Documentation

struct ThreadContext

Thread context for parallel factorization.

Contains all the information needed for a single thread in the parallel factorization process.

Public Members

size_t thread_id
size_t start_pos
size_t end_pos
size_t text_length
std::string temp_file_path
bool is_last_thread
size_t next_thread_factor_index = 0
std::optional<Factor> last_read_factor