void NNTrainer::InputTensorsInfo::getSample(float **input, float **label,
bool *last) {
ml_logd("<called>");
- ml_logd("(pop/push: %d/%d)", pop_count, push_count);
pid_t pid = getpid();
pid_t tid = syscall(SYS_gettid);
ml_logd("pid[%d], tid[%d]", pid, tid);
std::unique_lock<std::mutex> lock(queue_lock);
+ ml_logd("(pop/push: %d/%d)", pop_count, push_count);
data_empty.wait(lock, [this] { return !isQueueEmpty(); });
ml_logd("getSample condition is met");