From b6db84aea2db2ddebcef58918971258464cbf46f Mon Sep 17 00:00:00 2001 From: Rich Hickey Date: Sat, 22 Sep 2007 22:32:46 +0000 Subject: refactoring dumping unused classes --- src/cli/runtime/TRef.cs | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/cli/runtime/TRef.cs (limited to 'src/cli/runtime/TRef.cs') diff --git a/src/cli/runtime/TRef.cs b/src/cli/runtime/TRef.cs deleted file mode 100644 index d749793f..00000000 --- a/src/cli/runtime/TRef.cs +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Copyright (c) Rich Hickey. All rights reserved. - * The use and distribution terms for this software are covered by the - * Common Public License 1.0 (http://opensource.org/licenses/cpl.php) - * which can be found in the file CPL.TXT at the root of this distribution. - * By using this software in any fashion, you are agreeing to be bound by - * the terms of this license. - * You must not remove this notice, or any other, from this software. - **/ - -/* rich May 30, 2006 */ - -using System; -using System.Threading; - -namespace clojure.lang -{ - -public class TRef : TVal, IComparable{ -static int nextSeq = 0; - -readonly int lockSeq; - -public TRef() { - this.lockSeq = Interlocked.Increment(ref nextSeq); -} - -public int CompareTo(Object o){ - return lockSeq - ((TRef) o).lockSeq; -} -} -} -- cgit v1.2.3-70-g09d2