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: Fix sem_post race (bug 14532)


On 09/12/2012 05:06 AM, Torvald Riegel wrote:
> In general, does glibc intend to replicate/use the C11/C++11 memory
> model (i.e., the semantics etc; we can still implement the atomic ops
> differently)?  That is, are _acq and _rel supposed to have the same
> semantics as in those memory models?

I can't imagine an answer to this question that isn't "Yes, we will
use the C11/C++11 memory model."  Anything else just seems like a
nightmare waiting in the wings.


r~


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