I'm trying to write a Semaphore implementation so I thought of looking at the current semaphore implementation from the GNU C Library.
I couldn't find the source files, only the headers semaphore.h, semaphoreP.h, semaphore.h-data. A lot of these semaphore.h headers were repeated too. Strange.
I think the reason there was no source file is because the semaphore itself is probably OS/kernel implemented.
So my question stands. If Ubuntu is supposed to be "open", and the source, "readily available" how could I get my hands on the current source for the semaphore?