JustKernel

Ray Of Hope

power states

Deadlock scenario while handling System/Device Power states.

Recently ran into a deadlock condition where in my USB driver was waiting for reference count to be decremented and the completion routine which decrements the reference count has returned STATUS PENDING. The scenario goes like this: I keep a reference count which is incremented when a request is received (Dispatched ) and is decremented […]

Tags: ,

Posted in Basic C | No Comments »