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: arm, hppa, m68k, sh, nios maintainers: Please check your emulation of atomic operations


On Fri, 2016-11-11 at 10:11 +0100, Andreas Schwab wrote:
> m68k is UP-only, so it requires only interrupt-safety which a simple
> store already provides.

The point is not that a simple store could be interrupted.  In a UP
scenario, the risk is that the CAS emulation gets interrupted between
the load and the store that will be part of it.  If you avoid that,
you're good.  If not, you need to either ensure that or route
atomic_store_ through CAS.




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