Single threaded application to multi- threaded applications


When a single threaded application is converted to multi-
threaded applications, what kind of changes occur?


You mean that if you wrote a code, which was earlier operating on a single thread, and now it is changed to perform multi threading.

Then in this case, race condition may occur, which can be prevented using locks.