Domanda di colloquio di Tata Consultancy Services

What are the problems that arise by using multithreading?

Risposta di colloquio

Anonimo

3 gen 2021

Deadlock, Memory interference for ex: if a global variable is used by the threads simultaneously, then there is a chance of getting a wrong value in the variable.