Date: 2024-12-16 14:46:30
Score: 3.5
Natty:
The synchronized lock the reference so if you change the reference an other thread could be execute the synchronized block in same time
In French : https://www.jmdoudoux.fr/java/dej/chap-acces_concurrents.htm#:~:text=Il%20ne%20faut%20pas%20utiliser,pos%C3%A9%20sur%20le%20m%C3%AAme%20moniteur.
Reasons:
- Probably link only (1):
- Low length (1):
- No code block (0.5):
- Low reputation (1):
Posted by: Thomas DUBUIS