-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Labels
Description
The puzzle 4673-7841412b from #4673 has to be resolved:
eo/eo-runtime/src/main/java/org/eolang/AtWithRho.java
Lines 19 to 25 in 0cd15b0
| * @todo #4673:30min The {@link AtWithRho#get()} is not thread safe. If multiple threads | |
| * call get() concurrently when the underlying object lacks RHO, each thread will: | |
| * 1. Pass the !ret.hasRho() check | |
| * 2. Create its own copy via ret.copy() | |
| * 3. Attempt to set RHO on its copy | |
| * This results in different threads receiving different copies, violating the expectation | |
| * that get() returns a consistent view of the attribute's value. |
The puzzle was created by Rultor.com on 25-Nov-25.
Estimate: 30 minutes, role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.