Java Concurrency - Part 6 : Atomic Variables | @Blog("Baptiste Wicht")
When a data (typically a variable) can be accessed by several threads, you must synchronize the access to the data to ensure visibility and correctness.
By example, if you have a simple counter (yes, once again) :
Read full article from Java Concurrency - Part 6 : Atomic Variables | @Blog("Baptiste Wicht")
No comments:
Post a Comment