When to use the Java Thread API

Personally, I use high-level concurrency abstractions because they are much simpler. Actually, I don’t remember the last time I used hell. But in a technical interview, this is a frequently asked question. And I also ask about it.

Are there any use cases when you need to use a low-level downstream API instead of Executors / Locks / Latches / etc.?

Is there any reason to discuss grass-roots thread APIs during a technical interview?

+5
source share
2 answers

- , , Java , , API . / , , API , - !

+1

, - . , 15,20 , , , . API- concurrency API. , , , , concurrency , , API .

, , , API. , , API.

+4

All Articles