MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / waitingOps

Method waitingOps

libminifi/src/utils/ByteArrayCallback.cpp:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74bool ByteOutputCallback::waitingOps() {
75 if (vector_lock_.try_lock()) {
76 vector_lock_.unlock();
77 return false;
78 }
79 return true;
80}
81
82void ByteOutputCallback::write(char *data, size_t size) {
83 if (!read_started_) {

Callers 1

isFinishedMethod · 0.80

Calls 1

try_lockMethod · 0.80

Tested by

no test coverage detected