0

I'm learning a book about Unix.
I find that Unix provides many kinds of lock tools implemented by C library,
such as pthread_mutex_lock,pthread_mutex_timedlock,pthread_rwlock_rdlock,pthread_rwlock_wrlock.
So, I am curious about a truth that many other program languages implement their own lock tools.
Do they finish the lock tools based on Unix C library or Unix system call ? Could we implement userland lock tools ? Are there some reference books or websites introducing it ?

JasonZhang
  • 68
  • 1
  • 10

0 Answers0