[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Internal libc lock interface
From: |
Igor Khavkine |
Subject: |
Re: Internal libc lock interface |
Date: |
Thu, 21 Jun 2001 08:41:10 -0400 |
User-agent: |
Mutt/1.3.18i |
On Thu, Jun 21, 2001 at 06:32:12AM -0400, Roland McGrath wrote:
> rwlock is to mutex as pthread_rwlock is to pthread_mutex
I see. It's just a simple abstraction for the Readers-Writers
problem.
I also found a stub in sysdes/generic for machine-lock.h. It defines
the atomic __spin_lock operations and there are non stub implementations
for severa arch's. It contains very few definitions. So I think I'll
add more definitions and use __spin_lock's throughout pthreads.
Igor