src/base/queue_task.h
// Returns true if pop is successful.
Returns true if pop is successful.
Returns true if pop is successful .
bool Dequeue(QueueEntryT *entry) {
        bool success = queue_.try_pop(*entry);
        if (success) {
            dequeues_++;
            size_t ncount(AtomicDecrementQueueCount(entry));
            ProcessLowWaterMarks(ncount);
        }
        return success;
    }
bool Dequeue ( QueueEntryT * entry ) { bool success = queue_ . try_pop ( * entry ) ; if ( success ) { dequeues_ ++ ; size_t ncount ( AtomicDecrementQueueCount ( entry ) ) ; ProcessLowWaterMarks ( ncount ) ; } return success ; }
Returns true if pop is successful.
Returns true if pop is successful .