1 #ifndef THREADINDEXER_H
2 #define THREADINDEXER_H
6 #include "condition.inc"
10 // ================================= builds the indexes as a thread
11 // Runs through all the assets and starts an index file building for each asset.
13 class ThreadIndexer
: public Thread
16 ThreadIndexer(MWindow
*mwindow
, Assets
*assets
);
21 int interrupt_build();
26 Condition
*interrupt_lock
; // Force blocking until thread is finished
34 // c-file-style: "linux"