According to the way i understand threads, programming a multi-threaded program either can speed up the program or just match the execution time of a single-threaded version of the program.
So, my two questions are:
1- Is what i said true or false ?
2- give example when multi-threading code produce negative results on performance ?