top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What's is the basic difference between pthread_mutex_lock and kernel mutex_lock in GUN/Linux?

+1 vote
639 views
What's is the basic difference between pthread_mutex_lock and kernel mutex_lock in GUN/Linux?
posted Dec 9, 2015 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

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.

answer Dec 9, 2015 by Harshita
Similar Questions
+2 votes

Can someone explain in layman language with example...

+1 vote

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?

0 votes

What's the basic difference between hardware and software solutions for critical section problem? Why are they called hardware or software solution?

...