pthread_mutex_lock is an API which is used at the user space. It is written in C language . mutex_lock runs at the kernal level. In short, one is related to user space while the other one is related to kernal space.
Can someone explain in layman language with example...
I know, Proc file system will have all the PIDs of all processes, I want to distinguish kernel processes and user processes? Can anyone help?
What's the basic difference between hardware and software solutions for critical section problem? Why are they called hardware or software solution?