Hi all,

I had a confuse with usage of atomic inc/dec of APR running on x86. And I have found the root in configure.in file which contains missyes. I do believe generic atomics should be forced on cpu other then x86. Otherwise it makes no sense to use apr_atomic functions.
Diff was done on apr_20070625102023.tar.gz snapshot.

@@ -489,8 +481,8 @@
  fi
 ],
 [case $host_cpu in
-   i[[456]]86) force_generic_atomics=yes ;;
-   *) force_generic_atomics=no ;;
+   i[[456]]86) force_generic_atomics=no ;;
+   *) force_generic_atomics=yes ;;
 esac
 ])


--
Best regards,
Dmytro

Reply via email to