summaryrefslogtreecommitdiff
path: root/ACE/examples/Threads
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/Threads')
-rw-r--r--ACE/examples/Threads/barrier2.cpp2
-rw-r--r--ACE/examples/Threads/future1.cpp2
-rw-r--r--ACE/examples/Threads/future2.cpp2
-rw-r--r--ACE/examples/Threads/task_four.cpp4
-rw-r--r--ACE/examples/Threads/task_one.cpp2
-rw-r--r--ACE/examples/Threads/task_three.cpp2
-rw-r--r--ACE/examples/Threads/task_two.cpp2
-rw-r--r--ACE/examples/Threads/thread_pool.cpp2
-rw-r--r--ACE/examples/Threads/token.cpp2
-rw-r--r--ACE/examples/Threads/tss1.cpp2
-rw-r--r--ACE/examples/Threads/wfmo.cpp2
11 files changed, 12 insertions, 12 deletions
diff --git a/ACE/examples/Threads/barrier2.cpp b/ACE/examples/Threads/barrier2.cpp
index 1fa492857d3..aaddab06bc9 100644
--- a/ACE/examples/Threads/barrier2.cpp
+++ b/ACE/examples/Threads/barrier2.cpp
@@ -45,7 +45,7 @@ public:
private:
virtual int put (ACE_Message_Block *mb, ACE_Time_Value *tv=0);
- virtual int svc (void);
+ virtual int svc ();
// Iterate <n_iterations> time printing off a message and "waiting"
// for all other threads to complete this iteration.
diff --git a/ACE/examples/Threads/future1.cpp b/ACE/examples/Threads/future1.cpp
index b80071185cb..57fe594f4ae 100644
--- a/ACE/examples/Threads/future1.cpp
+++ b/ACE/examples/Threads/future1.cpp
@@ -61,7 +61,7 @@ public:
virtual int open (void *args = 0);
virtual int close (u_long flags = 0);
- virtual int svc (void);
+ virtual int svc ();
ACE_Future<u_long> work (u_long param, int count = 1);
ACE_Future<const char*> name (void);
diff --git a/ACE/examples/Threads/future2.cpp b/ACE/examples/Threads/future2.cpp
index 20f66f10188..1708fbe0d5e 100644
--- a/ACE/examples/Threads/future2.cpp
+++ b/ACE/examples/Threads/future2.cpp
@@ -69,7 +69,7 @@ private:
virtual int close (u_long flags = 0);
/// Here the actual servicing of all requests is happening..
- virtual int svc (void);
+ virtual int svc ();
// = Implementation methods.
u_long work_i (u_long, int);
diff --git a/ACE/examples/Threads/task_four.cpp b/ACE/examples/Threads/task_four.cpp
index b53cc2e8223..e1f06fa7d1f 100644
--- a/ACE/examples/Threads/task_four.cpp
+++ b/ACE/examples/Threads/task_four.cpp
@@ -45,7 +45,7 @@ public:
size_t n_tasks,
size_t n_threads,
size_t n_iterations);
- virtual int svc (void);
+ virtual int svc ();
// creats <n_tasks> and wait for them to finish
private:
@@ -63,7 +63,7 @@ public:
Worker_Task (ACE_Thread_Manager *thr_mgr,
size_t n_threads,
size_t n_iterations);
- virtual int svc (void);
+ virtual int svc ();
//FUZZ: disable check_for_lack_ACE_OS
// Does a small work...
diff --git a/ACE/examples/Threads/task_one.cpp b/ACE/examples/Threads/task_one.cpp
index a5e36f6728d..bb0474c2894 100644
--- a/ACE/examples/Threads/task_one.cpp
+++ b/ACE/examples/Threads/task_one.cpp
@@ -21,7 +21,7 @@ public:
int n_threads,
int n_iterations);
- virtual int svc (void);
+ virtual int svc ();
// Iterate <n_iterations> time printing off a message and "waiting"
// for all other threads to complete this iteration.
diff --git a/ACE/examples/Threads/task_three.cpp b/ACE/examples/Threads/task_three.cpp
index 123676c82a7..dd7d1c749ee 100644
--- a/ACE/examples/Threads/task_three.cpp
+++ b/ACE/examples/Threads/task_three.cpp
@@ -41,7 +41,7 @@ public:
virtual int close (u_long flags = 0);
//FUZZ: enable check_for_lack_ACE_OS
- virtual int svc (void);
+ virtual int svc ();
virtual int handle_input (ACE_HANDLE fd);
diff --git a/ACE/examples/Threads/task_two.cpp b/ACE/examples/Threads/task_two.cpp
index 560456e68c9..828322defa8 100644
--- a/ACE/examples/Threads/task_two.cpp
+++ b/ACE/examples/Threads/task_two.cpp
@@ -35,7 +35,7 @@ public:
virtual int close (u_long flags = 0);
//FUZZ: enable check_for_lack_ACE_OS
- virtual int svc (void);
+ virtual int svc ();
private:
static ACE_Thread_Mutex lock_;
diff --git a/ACE/examples/Threads/thread_pool.cpp b/ACE/examples/Threads/thread_pool.cpp
index dfd85641bd0..9d560cb29e0 100644
--- a/ACE/examples/Threads/thread_pool.cpp
+++ b/ACE/examples/Threads/thread_pool.cpp
@@ -38,7 +38,7 @@ public:
~Thread_Pool (void);
// Destructor...
- virtual int svc (void);
+ virtual int svc ();
// Iterate <n_iterations> time printing off a message and "waiting"
// for all other threads to complete this iteration.
diff --git a/ACE/examples/Threads/token.cpp b/ACE/examples/Threads/token.cpp
index e0df596e414..b9c7bbd3e41 100644
--- a/ACE/examples/Threads/token.cpp
+++ b/ACE/examples/Threads/token.cpp
@@ -13,7 +13,7 @@ class My_Task : public ACE_Task<ACE_MT_SYNCH>
{
public:
My_Task (int n);
- virtual int svc (void);
+ virtual int svc ();
static void sleep_hook (void *);
diff --git a/ACE/examples/Threads/tss1.cpp b/ACE/examples/Threads/tss1.cpp
index 2ef87c3819d..9fa78c3f2af 100644
--- a/ACE/examples/Threads/tss1.cpp
+++ b/ACE/examples/Threads/tss1.cpp
@@ -47,7 +47,7 @@ public:
Tester (void) {}
~Tester (void) {}
- virtual int svc (void);
+ virtual int svc ();
//FUZZ: disable check_for_lack_ACE_OS
/// Activate the thread.
diff --git a/ACE/examples/Threads/wfmo.cpp b/ACE/examples/Threads/wfmo.cpp
index ffad996a97f..a0c22c33991 100644
--- a/ACE/examples/Threads/wfmo.cpp
+++ b/ACE/examples/Threads/wfmo.cpp
@@ -27,7 +27,7 @@ public:
virtual int open (void *);
//FUZZ: enable check_for_lack_ACE_OS
- virtual int svc (void);
+ virtual int svc ();
// Use two handles here..
ACE_sema_t sema_handles_[2];