3 #ifndef SPECTMORPH_BUILDER_THREAD_HH
4 #define SPECTMORPH_BUILDER_THREAD_HH
10 #include <condition_variable>
22 std::condition_variable cond;
23 bool thread_quit =
false;
27 std::vector<std::unique_ptr<Job>> todo;
32 void run_job (
Job *job);
39 void add_job (
WavSetBuilder *builder,
int object_id,
const std::function<
void(
WavSet *wav_set)>& done_func);
41 bool search_job (
int object_id);
43 void kill_jobs_by_id (
int object_id);
Definition: smbuilderthread.hh:19
Definition: smwavsetbuilder.hh:14
Definition: smwavset.hh:29
Definition: smbuilderthread.cc:28