Hi All,
If a process issues the Clone() system call with the flag CLONE_THREAD, this creates a new thread within the thread group of the caller.
How does scheduling of multiple threads in a thread group happen? I remember reading that each process has a single mm_struct. I assumed that all threads would share the same mm_struct and that scheduling will be based on these mm_structs.
In case my assumptions are correct, how are threads scheduled?
Regards,
Shyamal