Erkenntnis des Tages: POSIX-Semaphor-Funktionen wie sem_init,
sem_wait, … funktionieren nicht, wenn der sem_t nicht
aligned ist (also sich beispielsweise in einer struct mit
__attribute__((packed)) befindet).
Did you like this post? Subscribe to this blog’s RSS feed to not miss any new posts!
I run a blog since 2005, spreading knowledge and experience for over 20 years! :)
All of my content is human-authored. I do use LLMs for research and knowledge work, and even to review my posts, but all writing is my own, every word is my own voice.