mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-07 12:00:05 -05:00
- Update Ghoul reference
- Remove not needed cmake files - Make ConcurrentJobManager compile again
This commit is contained in:
@@ -75,14 +75,14 @@ namespace openspace {
|
||||
|
||||
|
||||
void enqueueJob(std::shared_ptr<Job<P>> job) {
|
||||
threadPool->enqueue([this, job]() {
|
||||
threadPool->queue([this, job]() {
|
||||
job->execute();
|
||||
_finishedJobs.push(job);
|
||||
});
|
||||
}
|
||||
|
||||
void clearEnqueuedJobs() {
|
||||
threadPool->clearTasks();
|
||||
threadPool->clearRemainingTasks();
|
||||
}
|
||||
|
||||
std::shared_ptr<Job<P>> popFinishedJob() {
|
||||
|
||||
Reference in New Issue
Block a user