Rename SkTDLinkedList to SkTInternalLinked list, add some methods useful for forthcoming SkTLList.
Review URL: https://codereview.appspot.com/6858101
git-svn-id: http://skia.googlecode.com/svn/trunk@6643 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/utils/SkThreadPool.h b/include/utils/SkThreadPool.h
index a96f87b..cc45fc2 100644
--- a/include/utils/SkThreadPool.h
+++ b/include/utils/SkThreadPool.h
@@ -10,7 +10,7 @@
#include "SkCondVar.h"
#include "SkTDArray.h"
-#include "SkTDLinkedList.h"
+#include "SkTInternalLList.h"
class SkRunnable;
class SkThread;
@@ -36,13 +36,13 @@
SkRunnable* fRunnable;
private:
- SK_DEFINE_DLINKEDLIST_INTERFACE(LinkedRunnable)
+ SK_DECLARE_INTERNAL_LLIST_INTERFACE(LinkedRunnable);
};
- SkTDLinkedList<LinkedRunnable> fQueue;
- SkCondVar fReady;
- SkTDArray<SkThread*> fThreads;
- bool fDone;
+ SkTInternalLList<LinkedRunnable> fQueue;
+ SkCondVar fReady;
+ SkTDArray<SkThread*> fThreads;
+ bool fDone;
static void Loop(void*); // Static because we pass in this.
};