diff options
Diffstat (limited to 'libs/hwui/thread/TaskManager.h')
-rw-r--r-- | libs/hwui/thread/TaskManager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/thread/TaskManager.h b/libs/hwui/thread/TaskManager.h index bc86062..477314b 100644 --- a/libs/hwui/thread/TaskManager.h +++ b/libs/hwui/thread/TaskManager.h @@ -47,6 +47,12 @@ public: */ bool canRunTasks() const; + /** + * Stops all allocated threads. Adding tasks will start + * the threads again as necessary. + */ + void stop(); + private: template <typename T> friend class TaskProcessor; |