This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Atomics in C++11



On 9/20/19 4:09 PM, Jason Merrill wrote:
On Fri, Sep 20, 2019 at 8:32 AM Nicholas Krause <xerofoify@gmail.com> wrote:
I was wondering if its possible to use the C11 atomics library for
multithreading

GCC. Not sure if its a good idea due to concerns about older plaforms
not having a C11 supported libraries or compiler.
I've been wondering if it's time to move to C++11 in general, since
we've had compilers with C++11 support for more than 5 years at this
point.

Jason

Jason,

It's up to the community at large but both me and the other student who is CCed

on this work would find it useful. He wants to use TLS for certain structures and

functions to be doubled per thread for no locking e.t.c. and ease of programming.


He can add his comments if need be,

Nick


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