I need to create two child processes each of which calls its own execvp on fork and the executable share common POSIX semaphores between them. So do I need to create a shared memory or just implement named semaphores?
I know the basics of pthread but looking for more information on uses of pthread_detach library function.
You are given two processes and each process is having four threads. One of the thread is having performance issue. How will you find out that thread which is having problem.