My semester starts tomorrow. So I was talking with a guy about sorting algorithms and he suggested me to do a quicksort in two threads for fun. Well the merging would not be parallel, because I have never used threads, so let's keep it simple.
He suggested to use pthread_create, join, and the other function to close the thread.
However, when I lied on the bed, I thought that fork generates a new process and the child process is running -in parallel (??)- with the parent process.
So, why did he suggested me to use threads?
//The course in the university about them comes this semester, so I don't know anything about them