sem_t in 64bit linux is 32 bytes, but with futex implementation, 8bytes is enough(glibc sem_post), is it true? if it is true, why make it wasting bytes?
Actually I want to use a custom semaphore implementation which use only 8bytes, thus using one semaphore to one date entry is possible. But I am not pretty sure the other bytes in glibc's implementation is just padding.
Just for my instrest, I am not going to use custom semaphore in work.