Hello Friends,

I am trying to porting an unix c++ program into windows using MSVC8.0 compiler. In my unix version there are some lines like

#include <sys/atomic.h>
...
atomic_add_int_nv()
...

Now, pls help me to find out the Win version of these code segments.

Thanks,
Amit

A starting point for you would be to specify what atomic_add_int_nv() actually does under unix. Forum readers are not mind-readers, and not generally all that good at working out what arbitrarily named non-standard functions do.

If you look up the documentation for atomic_add_int_nv(), you may also be able to work out the answer for yourself.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.