Home
last modified time | relevance | path

Searched refs:waitTimeNanoSec (Results 1 – 1 of 1) sorted by relevance

/drivers/hdf_core/interfaces/inner_api/hdi/base/
Dhdi_smq.h143 int Write(const T *data, size_t count, int64_t waitTimeNanoSec);
156 int Read(T *data, size_t count, int64_t waitTimeNanoSec);
432 int SharedMemQueue<T>::Write(const T *data, size_t count, int64_t waitTimeNanoSec) in Write() argument
447 if (waitTimeNanoSec != 0) { in Write()
449 waitTimeNanoSec -= (currentTime - startTime); in Write()
451 if (waitTimeNanoSec <= 0) { in Write()
456 ret = syncer_->Wait(SharedMemQueueSyncer::SYNC_WORD_WRITE, waitTimeNanoSec); in Write()
478 int SharedMemQueue<T>::Read(T *data, size_t count, int64_t waitTimeNanoSec) in Read() argument
493 if (waitTimeNanoSec != 0) { in Read()
495 waitTimeNanoSec -= (currentTime - startTime); in Read()
[all …]