[haiku-commits] Re: BRANCH pdziepak-github.lock_elision [a18aae1] in src/system/libroot/os/arch: m68k x86 x86_64 arm ppc

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 22 Jul 2013 22:42:57 +0200

On 07/22/2013 10:30 PM, pdziepak-github.lock_elision wrote:
+/* int64       atomic_get64_aligned(vint64 *value) */

Is there any reason you introduce new functions for this? Just let the old ones panic with non-aligned values. BeOS only had atomic_or() and atomic_and(), but there is really little reason to support this; if there is really a driver from back then we wanted to use, the chance it uses unaligned atomics is pretty small.


Other related posts: