Hi,
I have decided to try out atomic template class but I have not got far.
All I did that I included #include "tbb/atomic.h" in the file.
I get this error in MSC9:
>d:\libs\tbb21_20080605oss\include\tbb\machine\windows_ia32.h(169) : error C2400: inline assembler syntax error in 'opcode'; found 'bad token'
static inline void __TBB_machine_OR( volatile void *operand, unsigned __int32 addend ) {
__asm
{
mov eax, addend
mov edx, [operand]
lock or [edx], eax <-- this is the problem
}
}
Can someone tell me what may be wrong


