* 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 */
| 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() { |
no outgoing calls
no test coverage detected