Kaydet (Commit) 230a02db authored tarafından Michael Meeks's avatar Michael Meeks Kaydeden (comit) Caolán McNamara

vcl: parallelize image scaling.

(cherry picked from commit ffdf0ed4)

Change-Id: Ia452487c0c8c66a35c4b9fba225348bdef1a27f7
üst 86a547e3
......@@ -45,6 +45,9 @@ public:
/// wait until all queued tasks are completed
void waitUntilEmpty();
/// return the number of live worker threads
sal_Int32 getWorkerCount() const { return maWorkers.size(); }
private:
ThreadPool(const ThreadPool&) SAL_DELETED_FUNCTION;
ThreadPool& operator=(const ThreadPool&) SAL_DELETED_FUNCTION;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment