I found a header in glibc that defines a generic lock interface.
The file is sysdeps/generic/bits/libc-lock.h. There is a Mach
specific version of it in sysdeps/mach/bits. It is implemented
on top of cthread locks.

Was intended to be a high level or low level lock inteface? 
So should I try to reimplement it on top of spin_lock's or
pthread_mutex's? In the former case, how do I deal with
rwlocks (what are these btw?) or recursive locks. In the latter
I have to come up with a lower level generic interface to locks.

Thanks.

Igor

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to