[haiku-development] Re: Non existing arch_atomic.h for ARM architectures

  • From: Jonathan Schleifer <js-haiku-development@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 10 Feb 2014 10:24:05 +0100

Am 08.02.2014 um 00:19 schrieb Pedro Pinto <pemdpinto@xxxxxxxxx>:

> What would be the best way to solve these cases? Should a dummy 
> arm/arch_atomic.h be created?

Another idea would be to implement those with the atomic builtins from GCC for 
everything except gcc2. This is most likely even faster, as if e.g. the return 
value is not used, GCC can optimize this.

--
Jonathan

Other related posts: