[libcxx-commits] [PATCH] D142422: [libc++] [FreeBSD] only use _umtx_op(2) on 64bit arches

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 25 09:37:06 PST 2023


Mordante added a comment.

Thanks for working on this!



================
Comment at: libcxx/src/atomic.cpp:80
 
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) && __SIZEOF_LONG__ == 8
 
----------------
Does this still work on FreeBSD platforms where `__SIZEOF_LONG__ != 8` ?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142422/new/

https://reviews.llvm.org/D142422



More information about the libcxx-commits mailing list