Single threaded application to multi- threaded applications


#1

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


#2

Hi
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.