r/learnjava • u/LowExamination9091 • Nov 10 '25
Is Multithreading necessary for a job?
In all Java interviews I have taken so far I have questions or multithreading a lot, but do programmers really used this at work? Cause in my experience I haven’t really work directly with this concept, I know it exists but it is still a difficult subject for me and I’m still unsure if it is really necessary for java developers positions
104
Upvotes
View all comments
Show parent comment
1
u/VibrantGypsyDildo Nov 11 '25
I write in C/C++ for 10 years.
C++ and Java niches partially overlap and I do have to use synchronization primitives. In practice it is just mutexes and atomic variables. At the interviews I have to describe semaphores and spinlocks as well.
Spinlock is purely low-level thing (basically a busy loop of checking a variable in read_and_exchange operation).