MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / requestCancel

Method requestCancel

app/src/Sessions/DatabaseWorker.cpp:59–62  ·  view source on GitHub ↗

* @brief Sets the atomic cancel flag; long-running loops poll it between rows. */

Source from the content-addressed store, hash-verified

57 * @brief Sets the atomic cancel flag; long-running loops poll it between rows.
58 */
59void Sessions::DatabaseWorker::requestCancel()
60{
61 m_cancelRequested.store(true, std::memory_order_release);
62}
63
64//--------------------------------------------------------------------------------------------------
65// File operations

Callers 4

shutdownMethod · 0.45
closeDatabaseMethod · 0.45
shutdownMethod · 0.45
closeFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected