Rain 10.1 concurrent classroom

 

10.1 Concurrency

1.A cloud and mobile terminals are commonly accessed data; B quad-core CPU multiple processes executing concurrently; D common ownership tickets resources; E GC processing is executed in another thread; F apparently

2. Clearly

 

3. Clearly

 

4.C atomic statements (JVM determined); D is the Heisenberg BUG (uncertainty principle)

5. Clearly

 

6. The answer is B, D

 

7. The correct answer is:

join interrupted returns

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin blog.csdn.net/qq_42766619/article/details/90631748