Question on multi threading
I heard that, in Linux it not the process which is being scheduled instead its the thread which is being scheduled.
Now my question is that
I have two process P1 and P2, each process creates two threads, P1(T1, T2) and P2(T3, T4).
How will the threads be scheduled now.
Thanks in advance.