itwanger / itwanger/toBeBetterJavaer

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

Open Beginner friendly
#210 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
17.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Image

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository documentation for the section titled or containing “thread-bring-some-problem” and the cited line 72. Read the surrounding explanation of int j=i and correct the statement that calls it atomic. Confirm that the revised text accurately distinguishes reading i from writing j.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.