summaryrefslogtreecommitdiff
path: root/examples/Threads
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-08-04 03:53:54 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-08-04 03:53:54 +0000
commit937a0506cb1c0980eab5bcfdf266139e1c93e80c (patch)
tree12103be26b2e9b0cd1869d7fd72a1f8a8ec362e6 /examples/Threads
parent868bea2cbe0807f9db59c1997ede86af27fbc8e3 (diff)
downloadATCD-937a0506cb1c0980eab5bcfdf266139e1c93e80c.tar.gz
ChangeLogTag:Mon Aug 4 03:26:30 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'examples/Threads')
-rw-r--r--examples/Threads/TSS_Data.h2
-rw-r--r--examples/Threads/barrier2.cpp1
-rw-r--r--examples/Threads/task_one.cpp1
3 files changed, 4 insertions, 0 deletions
diff --git a/examples/Threads/TSS_Data.h b/examples/Threads/TSS_Data.h
index 03fd6c8ff50..3c9dfcfe28c 100644
--- a/examples/Threads/TSS_Data.h
+++ b/examples/Threads/TSS_Data.h
@@ -19,6 +19,8 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "ace/Synch_Traits.h"
+
class TSS_Data
// = TITLE
// Data that is stored in thread-specific storage.
diff --git a/examples/Threads/barrier2.cpp b/examples/Threads/barrier2.cpp
index cdbe6ff95f3..13d152da7fe 100644
--- a/examples/Threads/barrier2.cpp
+++ b/examples/Threads/barrier2.cpp
@@ -17,6 +17,7 @@ ACE_RCSID(Threads, barrier2, "$Id$")
#if defined (ACE_HAS_THREADS)
+#include "ace/Null_Barrier.h"
#define BARRIER_TYPE ACE_Null_Barrier
template <class BARRIER>
diff --git a/examples/Threads/task_one.cpp b/examples/Threads/task_one.cpp
index e5e0b5e7234..734c0863712 100644
--- a/examples/Threads/task_one.cpp
+++ b/examples/Threads/task_one.cpp
@@ -13,6 +13,7 @@ ACE_RCSID(Threads, task_one, "$Id$")
#if defined (ACE_HAS_THREADS)
#include "ace/Task.h"
+#include "ace/Barrier.h"
class Barrier_Task : public ACE_Task<ACE_MT_SYNCH>
{