Kaydet (Commit) 5b8acf45 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Actually, let's just delete the now commented-out SAL_INFO lines

(It was I who added them in the first place.)

Next time somebody (falsely?) suspects a problem with mutex use and really
needs tracing, it's trivial to add temporary SAL_DEBUGs.

Change-Id: I3db02be777a728fbf4a1d1962f0ccfa16c630f15
üst 9a812c01
...@@ -65,8 +65,6 @@ oslMutex SAL_CALL osl_createMutex() ...@@ -65,8 +65,6 @@ oslMutex SAL_CALL osl_createMutex()
pthread_mutexattr_destroy(&aMutexAttr); pthread_mutexattr_destroy(&aMutexAttr);
// SAL_INFO("sal.osl.mutex", "osl_createMutex(): " << pMutex);
return pMutex; return pMutex;
} }
...@@ -74,8 +72,6 @@ void SAL_CALL osl_destroyMutex(oslMutexImpl *pMutex) ...@@ -74,8 +72,6 @@ void SAL_CALL osl_destroyMutex(oslMutexImpl *pMutex)
{ {
SAL_WARN_IF(!pMutex, "sal.osl.mutex", "null pMutex"); SAL_WARN_IF(!pMutex, "sal.osl.mutex", "null pMutex");
// SAL_INFO("sal.osl.mutex", "osl_destroyMutex(" << pMutex << ")");
if ( pMutex != 0 ) if ( pMutex != 0 )
{ {
int nRet=0; int nRet=0;
...@@ -96,8 +92,6 @@ sal_Bool SAL_CALL osl_acquireMutex(oslMutexImpl *pMutex) ...@@ -96,8 +92,6 @@ sal_Bool SAL_CALL osl_acquireMutex(oslMutexImpl *pMutex)
{ {
SAL_WARN_IF(!pMutex, "sal.osl.mutex", "null pMutex"); SAL_WARN_IF(!pMutex, "sal.osl.mutex", "null pMutex");
// SAL_INFO("sal.osl.mutex", "osl_acquireMutex(" << pMutex << ")");
if ( pMutex != 0 ) if ( pMutex != 0 )
{ {
int nRet=0; int nRet=0;
...@@ -129,8 +123,6 @@ sal_Bool SAL_CALL osl_tryToAcquireMutex(oslMutexImpl *pMutex) ...@@ -129,8 +123,6 @@ sal_Bool SAL_CALL osl_tryToAcquireMutex(oslMutexImpl *pMutex)
result = true; result = true;
} }
// SAL_INFO("sal.osl.mutex", "osl_tryToAcquireMutex(" << pMutex << "): " << (result ? "YES" : "NO"));
return result; return result;
} }
...@@ -138,8 +130,6 @@ sal_Bool SAL_CALL osl_releaseMutex(oslMutexImpl *pMutex) ...@@ -138,8 +130,6 @@ sal_Bool SAL_CALL osl_releaseMutex(oslMutexImpl *pMutex)
{ {
SAL_WARN_IF(!pMutex, "sal.osl.mutex", "null pMutex"); SAL_WARN_IF(!pMutex, "sal.osl.mutex", "null pMutex");
// SAL_INFO("sal.osl.mutex", "osl_releaseMutex(" << pMutex << ")");
if ( pMutex ) if ( pMutex )
{ {
int nRet=0; int nRet=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment