[ofw] RE: ibal pnp question

Sean Hefty sean.hefty at intel.com
Thu Dec 4 11:15:26 PST 2008


>No.  When pnp_ca_event runs for CA_ADD, a reference is taken on the ci_ca
>object.  That reference is released after the async callback item for CA_REMOVE
>has run.  This effectively prevents the ci_ca from being destroyed until the
>IBAL PnP event queue is drained (at least through the CA_REMOVE event).

An IBAL user could have processed a Windows remove device event before IBAL
invokes its own add device event.  I think I have the right synchronization in
WinMad to handle this, but I ended up with WinMad processing both IBAL and
Windows PnP events.

- Sean




More information about the ofw mailing list