Learning multi-threaded open class

 

 

The difference between synchronized and Lock:

https://mp.weixin.qq.com/s?src=11&timestamp=1586954061&ver=2280&signature=2oAQXki1nF1At8FOTlVWFKK0zQCo5Lhyz7-cS6Ny8uk7G4U0n-f7yFGXP5y-bApePbPABtPLQgS4*IkuVvlcvsMInP813tf*O5WIbnf53DDC03VJadZ0lvIeirZ9SSEI&new=1

Middleware rocketMQ

Two lock modes: fair lock mode and unfair lock

Thread starved, Netease cloud uses rocketmq

How to achieve thread blocking: park, unpark

Thread communication

 

Guess you like

Origin www.cnblogs.com/saifei1125/p/12721471.html