From 195f17ee40003f0ff74d08fecf5d68afe9cb1036 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 16 Sep 2012 02:00:14 -0500 Subject: migrate some of the biggest consumer of osl_*InterlockedCount to osl_atomic Change-Id: I0e6992afbeffaf3b993e6630fb396d93012890e0 Reviewed-on: https://gerrit.libreoffice.org/632 Tested-by: Norbert Thiebaud Reviewed-by: Norbert Thiebaud --- configmgr/source/access.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configmgr/source') diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx index 8d6d9cf4cdd5..e8c91acafaf9 100644 --- a/configmgr/source/access.cxx +++ b/configmgr/source/access.cxx @@ -108,11 +108,11 @@ namespace css = com::sun::star; } oslInterlockedCount Access::acquireCounting() { - return osl_incrementInterlockedCount(&m_refCount); + return osl_atomic_increment(&m_refCount); } void Access::releaseNondeleting() { - osl_decrementInterlockedCount(&m_refCount); + osl_atomic_decrement(&m_refCount); } bool Access::isValue() { -- cgit