score: use reference with strict mutex

This commit is contained in:
Gedare Bloom
2013-05-18 14:38:02 -04:00
parent 6c2eedc7dd
commit 36a6f58ac5

View File

@@ -47,7 +47,7 @@
* Check whether the holder release the mutex in LIFO order if not return * Check whether the holder release the mutex in LIFO order if not return
* error code. * error code.
*/ */
if ( _Chain_First( holder->lock_mutex ) != &mutex->queue.lock_queue ) { if ( _Chain_First( &holder->lock_mutex ) != &mutex->queue.lock_queue ) {
mutex->nest_count++; mutex->nest_count++;
return CORE_MUTEX_RELEASE_NOT_ORDER; return CORE_MUTEX_RELEASE_NOT_ORDER;