This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: robust pthread_mutex_t in shared memory
- From: Florian Weimer <fweimer at redhat dot com>
- To: Michal Vaško <mvasko at cesnet dot cz>
- Cc: libc-help at sourceware dot org
- Date: Tue, 16 Apr 2019 12:49:31 +0200
- Subject: Re: robust pthread_mutex_t in shared memory
- References: <851-5cb5a600-91-28d48a8@157851282>
* Michal Vaško:
> what exactly are "pthread data structure alignment requirements"? Can
> I read about them somewhere? Are they different across platforms?
> Thank you for an answer.
The alignment requirements are determined by the type definition in the
header file. They differ from platform to platform.
Thanks,
Florian