QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
NativeGrep::Worker Struct Reference

Public Attributes

QThread * thread
 The thread the search runs on.
std::shared_ptr< std::atomic_bool > cancel
 Set to ask the search to stop; polled by its gpg runs.

Detailed Description

A running search: its thread and the flag its gpg runs poll. The flag is shared with the thread's lambda so it outlives this object if a search is still winding down when it is destroyed.

Definition at line 169 of file nativegrep.h.

Member Data Documentation

◆ cancel

std::shared_ptr<std::atomic_bool> NativeGrep::Worker::cancel

Set to ask the search to stop; polled by its gpg runs.

Definition at line 173 of file nativegrep.h.

◆ thread

QThread* NativeGrep::Worker::thread

The thread the search runs on.

Definition at line 171 of file nativegrep.h.


The documentation for this struct was generated from the following file: