示例#1
0
        public void Clear()
        {
            long old = 0;

            do
            {
                old = seq.Value;
            } while (!seq.CompareExchange(0, old));
        }