summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_Thread.cpp')
-rw-r--r--ACE/ace/OS_NS_Thread.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/ACE/ace/OS_NS_Thread.cpp b/ACE/ace/OS_NS_Thread.cpp
index 1d454befb1b..a99cdd35ef2 100644
--- a/ACE/ace/OS_NS_Thread.cpp
+++ b/ACE/ace/OS_NS_Thread.cpp
@@ -346,7 +346,7 @@ ACE_TSS_Ref::ACE_TSS_Ref (ACE_thread_t id)
ACE_OS_TRACE ("ACE_TSS_Ref::ACE_TSS_Ref");
}
-ACE_TSS_Ref::ACE_TSS_Ref (void)
+ACE_TSS_Ref::ACE_TSS_Ref ()
{
ACE_OS_TRACE ("ACE_TSS_Ref::ACE_TSS_Ref");
}
@@ -386,7 +386,7 @@ ACE_TSS_Info::ACE_TSS_Info (ACE_thread_key_t key,
ACE_OS_TRACE ("ACE_TSS_Info::ACE_TSS_Info");
}
-ACE_TSS_Info::ACE_TSS_Info (void)
+ACE_TSS_Info::ACE_TSS_Info ()
: key_ (ACE_OS::NULL_key),
destructor_ (0),
thread_count_ (-1)
@@ -413,7 +413,7 @@ ACE_TSS_Info::operator != (const ACE_TSS_Info &info) const
}
void
-ACE_TSS_Info::dump (void)
+ACE_TSS_Info::dump ()
{
# if defined (ACE_HAS_DUMP)
// ACE_OS_TRACE ("ACE_TSS_Info::dump");
@@ -430,7 +430,7 @@ ACE_TSS_Info::dump (void)
// Moved class ACE_TSS_Keys declaration to OS.h so it can be visible
// to the single file of template instantiations.
-ACE_TSS_Keys::ACE_TSS_Keys (void)
+ACE_TSS_Keys::ACE_TSS_Keys ()
{
for (u_int i = 0; i < ACE_WORDS; ++i)
{
@@ -518,10 +518,10 @@ public:
/// Cleanup the thread-specific objects. Does _NOT_ exit the thread.
/// For each used key perform the same actions as free_key.
- void thread_exit (void);
+ void thread_exit ();
private:
- void dump (void);
+ void dump ();
/// Release a key used by this thread
/// @param info reference to the info for this key
@@ -546,8 +546,8 @@ private:
ACE_TSS_Keys *tss_keys ();
/// Ensure singleton.
- ACE_TSS_Cleanup (void);
- ~ACE_TSS_Cleanup (void);
+ ACE_TSS_Cleanup ();
+ ~ACE_TSS_Cleanup ();
/// ACE_TSS_Cleanup access only via TSS_Cleanup_Instance
friend class TSS_Cleanup_Instance;
@@ -671,7 +671,7 @@ TSS_Cleanup_Instance::TSS_Cleanup_Instance (Purpose purpose)
}
}
-TSS_Cleanup_Instance::~TSS_Cleanup_Instance (void)
+TSS_Cleanup_Instance::~TSS_Cleanup_Instance ()
{
// Variable to hold the mutex_ to delete outside the scope of the
// guard.
@@ -735,12 +735,12 @@ ACE_TSS_Cleanup * TSS_Cleanup_Instance::instance_ = 0;
ACE_Thread_Mutex* TSS_Cleanup_Instance::mutex_ = 0;
ACE_Condition_Thread_Mutex* TSS_Cleanup_Instance::condition_ = 0;
-ACE_TSS_Cleanup::~ACE_TSS_Cleanup (void)
+ACE_TSS_Cleanup::~ACE_TSS_Cleanup ()
{
}
void
-ACE_TSS_Cleanup::thread_exit (void)
+ACE_TSS_Cleanup::thread_exit ()
{
ACE_OS_TRACE ("ACE_TSS_Cleanup::thread_exit");
// variables to hold the destructors, keys
@@ -822,7 +822,7 @@ ACE_TSS_Cleanup_keys_destroyer (void *tss_keys)
delete static_cast <ACE_TSS_Keys *> (tss_keys);
}
-ACE_TSS_Cleanup::ACE_TSS_Cleanup (void)
+ACE_TSS_Cleanup::ACE_TSS_Cleanup ()
: in_use_ (ACE_OS::NULL_key)
{
ACE_OS_TRACE ("ACE_TSS_Cleanup::ACE_TSS_Cleanup");
@@ -975,7 +975,7 @@ ACE_TSS_Cleanup::thread_use_key (ACE_thread_key_t key)
}
void
-ACE_TSS_Cleanup::dump (void)
+ACE_TSS_Cleanup::dump ()
{
# if defined (ACE_HAS_DUMP)
// Iterate through all the thread-specific items and dump them all.