This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: passing private flag to SYS_futex in sem_post on x86_64


If you touch sem_t directly rather than only using the sem_* functions,
then the behavior is undefined.  It's no different from if you
clobbered a pointer-typed field in an internal data structure with a
bogus pointer.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]