Concurrent programming practice - reading notes

atomicity

++count "read-modify-write"

 

race condition

Check first and then perform Check-Then-Act to determine the next action based on an observation that may fail.

 

Race conditions in lazy initialization

 

Compound operation

AtomicLong 

 

Built-in lock

synchronized

 

reentrant

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326032771&siteId=291194637