LOCK_IS_TAKEN      89 vprof/vprof.cpp #define Lock(lock) while (_InterlockedCompareExchange(lock, LOCK_IS_TAKEN, LOCK_IS_FREE) == LOCK_IS_TAKEN){};
LOCK_IS_TAKEN      90 vprof/vprof.cpp #define Unlock(lock) _InterlockedCompareExchange(lock, LOCK_IS_FREE, LOCK_IS_TAKEN);