Remove unused InkPool_r.h

Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/7043ab6d
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/7043ab6d
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/7043ab6d

Branch: refs/heads/master
Commit: 7043ab6d99cd136e73ccad1aaa22892918b051ec
Parents: ed6cfba
Author: James Peach <[email protected]>
Authored: Wed Jan 27 12:44:14 2016 -0800
Committer: James Peach <[email protected]>
Committed: Wed Jan 27 14:13:01 2016 -0800

----------------------------------------------------------------------
 proxy/InkPool_r.h | 73 --------------------------------------------------
 1 file changed, 73 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7043ab6d/proxy/InkPool_r.h
----------------------------------------------------------------------
diff --git a/proxy/InkPool_r.h b/proxy/InkPool_r.h
deleted file mode 100644
index 262355c..0000000
--- a/proxy/InkPool_r.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/** @file
-
-  A brief file description
-
-  @section license License
-
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
- */
-
-#ifndef __INK_POOL_R_H_INCLUDED__
-#define __INK_POOL_R_H_INCLUDED__
-
-#include "ts/InkPool.h"
-#include "P_EventSystem.h"
-
-template <class C> class InkStaticPool_r : public InkStaticPool<C>
-{
-public:
-  InkStaticPool_r(int size) : InkStaticPool<C>(size) { mutex = 
new_ProxyMutex(); }
-
-  virtual ~InkStaticPool_r()
-  {
-    SCOPED_MUTEX_LOCK(lock, mutex, this_ethread());
-    cleanUp();
-  }
-
-  C *
-  get()
-  {
-    SCOPED_MUTEX_LOCK(lock, mutex, this_ethread());
-    return (InkStaticPool<C>::get());
-  }
-
-  bool
-  put(C *newObj)
-  {
-    SCOPED_MUTEX_LOCK(lock, mutex, this_ethread());
-    return (InkStaticPool<C>::put(newObj));
-  }
-
-  void
-  put_or_delete(C *newObj)
-  {
-    if (!this->put(newObj))
-      delete newObj;
-  }
-
-  ProxyMutex *
-  getMutex()
-  {
-    return (mutex);
-  }
-
-protected:
-  Ptr<ProxyMutex> mutex;
-};
-
-
-#endif // #ifndef __INK_POOL_R_H_INCLUDED__

Reply via email to