search for: _interlockedbittestandreset

Displaying 3 results from an estimated 3 matches for "_interlockedbittestandreset".

2007 Nov 02
0
[PATCH] PVWin: Fix warnings
...); while (_BitScanForward(&evt_word, evt_words)) { @@ -68,7 +67,7 @@ EvtChn_InterruptDpc(WDFINTERRUPT Interru KdPrint((__DRIVER_NAME " Calling Handler for port %d\n", port)); ev_action->ServiceRoutine(NULL, ev_action->ServiceContext); } - _interlockedbittestandreset(&shared_info_area->evtchn_pending[0], port); + _interlockedbittestandreset((volatile LONG *)&shared_info_area->evtchn_pending[0], port); } } KdPrint((__DRIVER_NAME " <-- InterruptDpc\n")); @@ -81,7 +80,6 @@ EvtChn_Interrupt(WDFINTERRUPT Interrupt, { in...
2012 May 23
2
[LLVMdev] Windows question: Dozens of linker warnings and errors
...h clang++ earlier on found a couple of very serious issues in my code). But when I get to the link phase, all hell breaks loose: I get a ton of these warnings: Memory.o : warning LNK4006: _InterlockedBitTestAndSet already defined in Stream.o; second definition ignored Memory.o : warning LNK4006: _InterlockedBitTestAndReset already defined in Stream.o; second definition ignored Memory.o : warning LNK4006: _InterlockedBitTestAndComplement already defined in Stream.o; second definition ignored Memory.o : warning LNK4006: _MemoryBarrier already defined in Stream.o; second definition ignored Memory.o : warning LNK4006: _R...
2012 May 24
0
[LLVMdev] Windows question: Dozens of linker warnings and errors
...le of very serious issues > in my code).  But when I get to the link phase, all hell breaks loose: > > I get a ton of these warnings: > > Memory.o : warning LNK4006: _InterlockedBitTestAndSet already defined in > Stream.o; second definition ignored > Memory.o : warning LNK4006: _InterlockedBitTestAndReset already defined in > Stream.o; second definition ignored > Memory.o : warning LNK4006: _InterlockedBitTestAndComplement already defined > in Stream.o; second definition ignored > Memory.o : warning LNK4006: _MemoryBarrier already defined in Stream.o; > second definition ignored >...