summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-08-04 17:03:28 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-08-04 17:03:28 +0000
commitabca6be6ac612b48c48996b65182e53dbf5ef3aa (patch)
tree74e098627b2c809e2d094cdb00a1badd9b78e489 /examples
parent9f65462afb0d6c5c1c372ba413db7948014362a7 (diff)
downloadATCD-abca6be6ac612b48c48996b65182e53dbf5ef3aa.tar.gz
ChangeLogTag:Mon Aug 4 17:03:55 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/Export/dll.h1
-rw-r--r--examples/Reactor/Proactor/post_completions.cpp4
-rw-r--r--examples/Smart_Pointers/Gadget_Part.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/examples/Export/dll.h b/examples/Export/dll.h
index c10ecba521a..e9774bac0f3 100644
--- a/examples/Export/dll.h
+++ b/examples/Export/dll.h
@@ -7,6 +7,7 @@
#include "test_export.h"
#include "ace/Singleton.h"
+#include "ace/Null_Mutex.h"
#define RETVAL 42
diff --git a/examples/Reactor/Proactor/post_completions.cpp b/examples/Reactor/Proactor/post_completions.cpp
index 68991dba43f..a3e28129d86 100644
--- a/examples/Reactor/Proactor/post_completions.cpp
+++ b/examples/Reactor/Proactor/post_completions.cpp
@@ -37,10 +37,10 @@
#include "ace/WIN32_Proactor.h"
#include "ace/POSIX_Proactor.h"
#include "ace/Atomic_Op.h"
-
+#include "ace/Thread_Mutex.h"
// Keep track of how many completions are still expected.
-static ACE_Atomic_Op <ACE_Thread_Mutex, size_t> Completions_To_Go;
+static ACE_Atomic_Op <ACE_SYNCH_MUTEX, size_t> Completions_To_Go;
#if (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) || \
diff --git a/examples/Smart_Pointers/Gadget_Part.h b/examples/Smart_Pointers/Gadget_Part.h
index bc78c49666f..cef4277168a 100644
--- a/examples/Smart_Pointers/Gadget_Part.h
+++ b/examples/Smart_Pointers/Gadget_Part.h
@@ -13,6 +13,8 @@
#define GADGET_PART_H
#include "ace/Bound_Ptr.h"
+#include "ace/Synch_Traits.h"
+#include "ace/Thread_Mutex.h"
/**
* @class Gadget_Part