PdcPoPowerRequestBlockingCallback

VOID __fastcall PdcPoPowerRequestBlockingCallback(CHAR a1){
  PopAcquireRwLockExclusive(&PowerReqestStatsLock);
  if( a1 )
  {
    PopLogPowerRequestAction((INT8 *)"Power Request Blocking Started", 0i64);
    PoArmStopWatchCollection(&ExecutionRequiredStopWatchCollection);
  }
  else if( PoIsArmedStopWatchCollection((INT64)&ExecutionRequiredStopWatchCollection) )
  {
    PopLogPowerRequestAction((INT8 *)"Power Request Blocking Ended", 0i64);
    PoUnarmStopWatchCollection(&ExecutionRequiredStopWatchCollection);
  }
  PopReleaseRwLock((UINT64)&PowerReqestStatsLock);
}

Referenced by:

No references.