MCPcopy Create free account
hub / github.com/PlatformLab/NanoLog / checkCanDelete

Method checkCanDelete

runtime/RuntimeLogger.h:374–377  ·  view source on GitHub ↗

* Returns true if it's safe for the compression thread to delete * the StagingBuffer and remove it from the global vector. * * \return * true if its safe to delete the StagingBuffer */

Source from the content-addressed store, hash-verified

372 * true if its safe to delete the StagingBuffer
373 */
374 bool
375 checkCanDelete() {
376 return shouldDeallocate && consumerPos == producerPos;
377 }
378
379
380 uint32_t getId() {

Callers 1

compressionThreadMainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected