示例#1
0
void Pothos::OutputPort::bufferManagerPush(Pothos::Util::SpinLock *mutex, const Pothos::ManagedBuffer &buff)
{
    {
        std::lock_guard<Pothos::Util::SpinLock> lock(*mutex);
        buff.getBufferManager()->push(buff);
    }
    assert(_actor != nullptr);
    _actor->flagExternalChange();
}