Skip to content

connection是否应该进行线程保护? #684

Closed

Description

@sirius-zyj

image
此处一增一减,是否应该进行线程保护,比如加锁?

Activity

  1. Repository owner deleted a comment from ggandycong on Jul 24, 2023
  2. chenshuo commented on Jul 24, 2023

    @chenshuo
    Owner

    不用。
    因为这两个函数开头都有:

    loop_->assertInLoopThread();
    
  3. Repository owner locked and limited conversation to collaborators on Jul 24, 2023
  4. converted this issue into a discussion #685 on Jul 24, 2023
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