(Solved): Consider the following code segment pid_t pid; pid = fork (); if (pid \( ==0)\{/ * \) child process ...
Consider the following code segment pid_t pid; pid = fork (); if (pid \( ==0)\{/ * \) child process* fork \( ( \); ; thread_create (....); \} else fork(); fork () ; a. Show the execution graph. b. How many unique processes and threads are created?