Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ndis equivalent for InterlockedExchangeAdd

2 views
Skip to first unread message

Arunkumar Sundaram

unread,
Jul 7, 2008, 4:36:57 PM7/7/08
to
Hi All

Is there any Ndis equivalent for InterlockedExchangeAdd that doesnt
use spin lock?

Thanks
Arun

Pavel A.

unread,
Jul 7, 2008, 7:08:18 PM7/7/08
to
"Arunkumar Sundaram" <arunkumar...@gmail.com> wrote in message
news:8f38c541-b258-492c...@a1g2000hsb.googlegroups.com...

> Hi All
>
> Is there any Ndis equivalent for InterlockedExchangeAdd that doesnt
> use spin lock?
>

InterlockedExchangeAdd is intrinsic with the modern compilers;
IMHO you can just use it on all supported architectures -
which are documented in MSDN.

Regards,
--PA

Arunkumar Sundaram

unread,
Jul 8, 2008, 4:14:34 PM7/8/08
to
Thanks Pavel

On Jul 7, 4:08 pm, "Pavel A." <pave...@NOwritemeNO.com> wrote:
> "Arunkumar  Sundaram" <arunkumar.sunda...@gmail.com> wrote in messagenews:8f38c541-b258-492c...@a1g2000hsb.googlegroups.com...

0 new messages