Class faiss::WorkerThread¶
-
class WorkerThread¶
Public Functions
-
WorkerThread()¶
-
~WorkerThread()¶
Stops and waits for the worker thread to exit, flushing all pending lambdas
-
void stop()¶
Request that the worker thread stop itself.
-
void waitForThreadExit()¶
Blocking waits in the current thread for the worker thread to stop
Private Members
-
bool wantStop_¶
Whether or not we want the thread to exit.
-
WorkerThread()¶