Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

static void kPrfMutexRelease ( KPRF_TYPE(P, MUTEX)  pMutex  )  [inline, static]

Unlocks a mutex.

Parameters:
pMutex The mutex lock.

Definition at line 563 of file kProfileR3.cpp.

Referenced by kPrfRWLockAcquireRead(), kPrfRWLockAcquireWrite(), kPrfRWLockReleaseRead(), and kPrfRWLockReleaseWrite().

{
#if K_OS == K_OS_WINDOWS
    LeaveCriticalSection(pMutex);

#elif defined(KPRF_USE_PTHREAD)
    pthread_mutex_lock(pMutex);

#elif K_OS == K_OS_OS2
    fmutex_request(pMutex);
#endif
}


Generated by  Doxygen 1.6.0   Back to index