NdisMSynchronizeWithInterrupt

Hi,

Quite a question here, I’m using the sample tbatm155 code from the XP ddk.

I’m facing a race condition between the INTERRUPTS_DISABLED flag being set by the ISR and the Enable/Disable interrupts functions.

To avoid the obvious problem, the DDK says that we should use NdisMSynchronizeWithInterrupt and I’m still facing the rave condition.

Here’s the question, do I need to call NdisMSynWithInt from the ISR also to access the shared variables ??

It appears that the NdisMSyncWithInt and the ISR are running concurrently with one another on a SMP system.
How is this possible ??

Thanks,
Regards,
Ramit.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com