public void unlock() {
			int oldState = 0;
			int newState = (((TestThread)Thread.currentThread()).getClusterId());
			// successorMustWait = true;
			newState |= SMW_MASK;
			// tailWhenSpliced = false;
			newState &= (~TWS_MASK);
			do {
				oldState = state.get();
			} while (! state.compareAndSet(oldState, newState));
		}