AnsweredAssumed Answered

Indefinite Pend on Device Flag

Question asked by spflanze on Jan 15, 2013
Latest reply on Jan 15, 2013 by spflanze

I have a need to pend indefinitely on a device flag (no time out) . I made the attempt with this statement:

 

VDK_PendDeviceFlag( MY_DeviceFlag, VDK_kNoTimeoutError );

 

This caused Kernel Panic with cause of kInvalidTimeout. Is what I want to do possible? If so what timeout argument would do this?

 

To get by for now this is what I have:

 

VDK_PushCriticalRegion();

while( !VDK_PendDeviceFlag( DAC_DeviceFlag, INT_MAX-1 )){ VDK_PushCriticalRegion(); }

Outcomes