[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Internal libc lock interface
From: |
Roland McGrath |
Subject: |
Re: Internal libc lock interface |
Date: |
Thu, 21 Jun 2001 03:07:34 -0400 (EDT) |
I think libc-lock.h's comments are pretty self-explanatory. It is the
interface for locks internal to the "generic" parts of libc.
In a full-fledged integrated pthreads implementation,
linuxthreads/sysdeps/pthread/bits/libc-lock.h is probably about right.
Note that the low-level hurd-specific code does not use that interface for
its locks. Locking at that level has to be savvy about the signal thread
and critical sections and so forth.