summaryrefslogtreecommitdiff
path: root/ace/Future_Node.cpp
blob: 79c8706dc7fe467a59fe876d5a0fd12ae2458266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Future.cpp
// $Id$

#define ACE_BUILD_DLL

#ifndef ACE_FUTURE_NODE_CPP
#define ACE_FUTURE_NODE_CPP

#include "ace/OS.h"
#include "ace/Future_Node.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

ACE_RCSID(ace, Future_Node, "$Id$")

#if defined (ACE_HAS_THREADS)

template <class T>
ACE_DLList_Future_Node<T>::ACE_DLList_Future_Node (void)
  : next_ (0),
    prev_ (0)
{
}

template <class T>
ACE_DLList_Future_Node<T>::ACE_DLList_Future_Node (const ACE_Future<T> &item,
                                                   ACE_DLList_Future_Node<T> *n,
                                                   ACE_DLList_Future_Node<T> *p)
: item_ (item),
  next_ (n),
  prev_ (p)
{
}

template <class T>
ACE_DLList_Future_Node<T>::~ACE_DLList_Future_Node (void)
{
}

#endif /* ACE_HAS_THREADS */
#endif /* ACE_FUTURE_NODE_CPP */