PdcPoPowerRequestBlockingCallback

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

Referenced by:

No references.