[sub-plugin] Modify synchronization mechanism between push_data and getSample
authorhyunil park <hyunil46.park@samsung.com>
Tue, 29 Aug 2023 09:23:25 +0000 (18:23 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Tue, 12 Sep 2023 01:21:23 +0000 (10:21 +0900)
commitd482c31b5fb9212b6e1ec26232bb3a2a868d0e9a
tree5594bd1deef7d6f0ab004abae8261bc31f81a6d9
parent1d35780c886e0492bd41bef4cc9e08232c0c3de1
[sub-plugin] Modify synchronization mechanism between push_data and getSample

Modify synchronization mechanism between push_data and getSample
- Remove some member variable
- Add member function to check queue

**Self evaluation:**
1. Build test:   [X]Passed [ ]Failed [ ]Skipped
2. Run test:     [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: hyunil park <hyunil46.park@samsung.com>
nnstreamer/tensor_trainer/tensor_trainer_nntrainer.cc
nnstreamer/tensor_trainer/tensor_trainer_nntrainer.hh