I've never done something on concurrent programming.What I know about them is only from OS books.
And I met this question on an interview today. I wonder if anybody can give me an intuitive
explanation on multithread and multiprocess and when to choose them. Or,maybe you can
recommend me some books or links with actual examples. And I want to read source codes of
open-source project(c/c++) with conccurent programming,Hope that you can recommend one .
Thanks very much for your any help.
Multithread:
Multiprocess:
The decision between using multithread or multiprocess usually depends on two factors:
A final note: very complex applications can have both multithread and multiprocess to accomplish the needs of particular parts of the software.