summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2002-02-25 18:21:45 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2002-02-25 18:21:45 +0000
commit1a5de552e90bab78db2af9f1275f9dd01fa034e4 (patch)
treec7cefb22fce094edebd46772044fa468037379d0 /docs
parent955102ef7dcd6919ec99a715f13e8b60288c33cc (diff)
downloadATCD-1a5de552e90bab78db2af9f1275f9dd01fa034e4.tar.gz
ChangeLogTag: Mon Feb 25 19:08:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorials/007/page07.html1
-rw-r--r--docs/tutorials/007/page08.html2
-rw-r--r--docs/tutorials/007/thread_pool.cpp2
-rw-r--r--docs/tutorials/007/thread_pool.h1
-rw-r--r--docs/tutorials/013/mld.h1
-rw-r--r--docs/tutorials/013/page03.html1
-rw-r--r--docs/tutorials/017/Barrier_i.h1
-rw-r--r--docs/tutorials/017/page03.html1
-rw-r--r--docs/tutorials/018/page03.html1
9 files changed, 7 insertions, 4 deletions
diff --git a/docs/tutorials/007/page07.html b/docs/tutorials/007/page07.html
index ec322f1ee77..f0a14dac2fb 100644
--- a/docs/tutorials/007/page07.html
+++ b/docs/tutorials/007/page07.html
@@ -31,6 +31,7 @@ to make so few changes to the rest of the code.
can create a thread. The ACE_Task&lt;> is the basis for doing just
such a thing. */</font>
<font color=blue>#include</font> "<A HREF="../../../ace/Task.h">ace/Task.h</A>"
+<font color=blue>#include</font> "<A HREF="../../../ace/Atomic_Op.h">ace/Atomic_Op.h</A>"
<font color=blue>#if !defined</font> (<font color=purple>ACE_LACKS_PRAGMA_ONCE</font>)
<font color=blue># pragma</font> <font color=purple>once</font>
diff --git a/docs/tutorials/007/page08.html b/docs/tutorials/007/page08.html
index 672c3688c98..14c99353ad2 100644
--- a/docs/tutorials/007/page08.html
+++ b/docs/tutorials/007/page08.html
@@ -54,8 +54,6 @@ int
int
<font color=#008888>Thread_Pool::stop</font> (void)
{
- ACE_UNUSED_ARG(flags);
-
<font color=red>/* Find out how many threads are currently active */</font>
int counter = active_threads_.value ();
diff --git a/docs/tutorials/007/thread_pool.cpp b/docs/tutorials/007/thread_pool.cpp
index 1a62ec48c9c..f66f0e966f9 100644
--- a/docs/tutorials/007/thread_pool.cpp
+++ b/docs/tutorials/007/thread_pool.cpp
@@ -28,8 +28,6 @@ Thread_Pool::start (int pool_size)
int
Thread_Pool::stop (void)
{
- ACE_UNUSED_ARG(flags);
-
/* Find out how many threads are currently active */
int counter = active_threads_.value ();
diff --git a/docs/tutorials/007/thread_pool.h b/docs/tutorials/007/thread_pool.h
index 134f2e89285..b83742511ac 100644
--- a/docs/tutorials/007/thread_pool.h
+++ b/docs/tutorials/007/thread_pool.h
@@ -7,6 +7,7 @@
can create a thread. The ACE_Task<> is the basis for doing just
such a thing. */
#include "ace/Task.h"
+#include "ace/Atomic_Op.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
diff --git a/docs/tutorials/013/mld.h b/docs/tutorials/013/mld.h
index 015b1a77eaa..2f43562bb4b 100644
--- a/docs/tutorials/013/mld.h
+++ b/docs/tutorials/013/mld.h
@@ -11,6 +11,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ace/Singleton.h"
+#include "ace/Atomic_Op.h"
/*
This is a cheap memory leak detector. Each class I want to watch over
diff --git a/docs/tutorials/013/page03.html b/docs/tutorials/013/page03.html
index 7f73526c99f..c113cd0cf23 100644
--- a/docs/tutorials/013/page03.html
+++ b/docs/tutorials/013/page03.html
@@ -58,6 +58,7 @@ Simple, cheap, effective.
<font color=blue>#endif</font> <font color=red>/* ACE_LACKS_PRAGMA_ONCE */</font>
<font color=blue>#include</font> "<A HREF="../../../ace/Singleton.h">ace/Singleton.h</A>"
+<font color=blue>#include</font> "<A HREF="../../../ace/Atomic_Op.h">ace/Atomic_Op.h</A>"
<font color=red>/*
This is a cheap memory leak detector. Each class I want to watch over
diff --git a/docs/tutorials/017/Barrier_i.h b/docs/tutorials/017/Barrier_i.h
index 200f76464a3..cb9c3d4ce0e 100644
--- a/docs/tutorials/017/Barrier_i.h
+++ b/docs/tutorials/017/Barrier_i.h
@@ -4,6 +4,7 @@
#define BARRIER_H
#include "ace/Synch.h"
+#include "ace/Atomic_Op.h"
/* Barrier is a simple wrapper for the ACE_Barrier synchronization
class. The ACE_Barrier is already pretty easy to use but I thought
diff --git a/docs/tutorials/017/page03.html b/docs/tutorials/017/page03.html
index cb1a7182512..fe2d6ec5eda 100644
--- a/docs/tutorials/017/page03.html
+++ b/docs/tutorials/017/page03.html
@@ -33,6 +33,7 @@ the Barrier object almost as a "synchronization guard".
<font color=blue>#define</font> <font color=purple>BARRIER_H</font>
<font color=blue>#include</font> "<A HREF="../../../ace/Synch.h">ace/Synch.h</A>"
+<font color=blue>#include</font> "<A HREF="../../../ace/Atomic_Op.h">ace/Atomic_Op.h</A>"
<font color=red>/* Barrier is a simple wrapper for the ACE_Barrier synchronization
class. The ACE_Barrier is already pretty easy to use but I thought
diff --git a/docs/tutorials/018/page03.html b/docs/tutorials/018/page03.html
index c11e0e5b972..d148b339cdc 100644
--- a/docs/tutorials/018/page03.html
+++ b/docs/tutorials/018/page03.html
@@ -45,6 +45,7 @@ yourself a lot of time!
<font color=blue>#define</font> <font color=purple>TEST_T_H</font>
<font color=blue>#include</font> "<A HREF="../../../ace/Task.h">ace/Task.h</A>"
+<font color=blue>#include</font> "<A HREF="../../../ace/Atomic_Op.h">ace/Atomic_Op.h</A>"
<font color=red>/* We'll create a simple ACE_Task derivative for testing a couple of
different locking mechanisms. We've hidden the open() method to