Mutex lock check added as suggested by projectkk2glider
This commit is contained in:
@@ -107,8 +107,7 @@ int ff_cre_syncobj (BYTE vol, _SYNC_t *mutex)
|
|||||||
|
|
||||||
int ff_req_grant (_SYNC_t mutex)
|
int ff_req_grant (_SYNC_t mutex)
|
||||||
{
|
{
|
||||||
CoEnterMutexSection(mutex);
|
return CoEnterMutexSection(mutex) == E_OK;
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ff_rel_grant (_SYNC_t mutex)
|
void ff_rel_grant (_SYNC_t mutex)
|
||||||
|
|||||||
Reference in New Issue
Block a user