summaryrefslogtreecommitdiff
path: root/ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Queue.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Queue.inl')
-rw-r--r--ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Queue.inl29
1 files changed, 29 insertions, 0 deletions
diff --git a/ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Queue.inl b/ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Queue.inl
new file mode 100644
index 00000000000..9e26d265f10
--- /dev/null
+++ b/ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Queue.inl
@@ -0,0 +1,29 @@
+// -*- C++ -*-
+//
+// $Id$
+
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+ACE_INLINE
+TAO::CSD::TP_Queue::TP_Queue()
+ : head_(0),
+ tail_(0)
+{
+}
+
+
+ACE_INLINE
+TAO::CSD::TP_Queue::~TP_Queue()
+{
+}
+
+
+ACE_INLINE
+bool
+TAO::CSD::TP_Queue::is_empty() const
+{
+ return (this->head_ == 0);
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL