diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-09-08 13:48:23 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | ff06f202b94fa131861a7ff118e1b970e1351770 (patch) | |
tree | 76b069690d83ac805dd2303caa0934158add7a69 /arm_compute/runtime/CPP/CPPScheduler.h | |
parent | 24486d6554b30df4f9d2bcdf87f408baa742b42f (diff) | |
download | ComputeLibrary-ff06f202b94fa131861a7ff118e1b970e1351770.tar.gz |
COMPMID-417: Cleanup CPPScheduler
Change-Id: I45028dc90db5c8c0ed1eba795d4652aa95305b48
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87053
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/runtime/CPP/CPPScheduler.h')
-rw-r--r-- | arm_compute/runtime/CPP/CPPScheduler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arm_compute/runtime/CPP/CPPScheduler.h b/arm_compute/runtime/CPP/CPPScheduler.h index 8351f0cbdd..17da7aeb78 100644 --- a/arm_compute/runtime/CPP/CPPScheduler.h +++ b/arm_compute/runtime/CPP/CPPScheduler.h @@ -26,7 +26,7 @@ #include "arm_compute/runtime/IScheduler.h" -#include <memory> +#include <list> namespace arm_compute { @@ -67,8 +67,8 @@ private: /** Constructor: create a pool of threads. */ CPPScheduler(); - unsigned int _num_threads; - std::unique_ptr<Thread[], void (*)(Thread *)> _threads; + unsigned int _num_threads; + std::list<Thread> _threads; }; } #endif /* __ARM_COMPUTE_CPPSCHEDULER_H__ */ |