Skip to content

_buffer是否应该加锁? #1

Description

@niehuaihua

在void Frame::MakeFrameComplete()中的_buffer = new char[_bufferSize];这行代码是否应该加锁?因为你在发送线程SendFrameDownstream中是对_buffer操作了

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions