Mutex lock check added as suggested by projectkk2glider

This commit is contained in:
bsongis
2014-11-19 19:41:15 +01:00
parent aa037f28d9
commit 317c4657be
+1 -2
View File
@@ -107,8 +107,7 @@ int ff_cre_syncobj (BYTE vol, _SYNC_t *mutex)
int ff_req_grant (_SYNC_t mutex)
{
CoEnterMutexSection(mutex);
return 1;
return CoEnterMutexSection(mutex) == E_OK;
}
void ff_rel_grant (_SYNC_t mutex)