This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] [BZ 14417] Document condvar synchronization
On Wed, Sep 26, 2012 at 06:39:43PM +0200, Torvald Riegel wrote:
> > The thing is that we don't have just one source for the condvar code though,
> > but 4 different versions (C code, x86_64, i486 and sh assembly).
> > So if you document it just in one spot, it is not documented in the other 3
> > anyway, referencing DESIGN-condvar.txt from all those 4 could make it
> > better.
>
> I considered the C code to be the "original", so that's why I put it
> there. I had planned to cite it from all the other versions, but that
> wasn't in my patch.
In reality it wasn't, it was first written in i?86/x86_64 assembly and only
afterwards ported into C.
Jakub