Skip to content

thread-bring-some-problem文档中描述错误 #210

Description

@angrykun
Image

原文72行:
操作3:这是原子操作,因为它是一个单一的、不可分割的步骤。
int j=i; //操作3 代码。
这个应该不是原子操作,应该先读i的值,然后再写到变量j中。

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