MCPcopy Create free account
hub / github.com/KDE/labplot / abort

Method abort

src/3rdparty/vector_blf/src/Vector/BLF/ObjectQueue.cpp:117–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116template<typename T>
117void ObjectQueue<T>::abort() {
118 /* mutex lock */
119 std::lock_guard<std::mutex> lock(m_mutex);
120
121 /* stop */
122 m_abort = true;
123
124 /* trigger blocked threads */
125 tellgChanged.notify_all();
126 tellpChanged.notify_all();
127}
128
129template<typename T>
130void ObjectQueue<T>::setFileSize(uint32_t fileSize) {

Callers 3

closeMethod · 0.45
initDeviceMethod · 0.45
readMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected