[neuurn] Use mutex on ExecutorBase (#6131)
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 2 Aug 2019 05:54:34 +0000 (14:54 +0900)
committer이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Fri, 2 Aug 2019 05:54:34 +0000 (14:54 +0900)
commit89c54237152b4df24fbcfa3b57165495e2736e08
tree488660ecc2cdaffce9f9d0a6e7b14c55f0336e39
parent85c1f87c49f23471428d52ec4f71a7cace98acea
[neuurn] Use mutex on ExecutorBase (#6131)

* Use mutex on ExecutorBase

Use mutex on ExecutorBase for thread-safe executor
Enable multi-thread execution test

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Use std::lock_guard
runtimes/neurun/core/src/exec/ExecutorBase.cc
runtimes/neurun/core/src/exec/ExecutorBase.h
runtimes/neurun/test/core/exec/ExecInstance.cc