summaryrefslogtreecommitdiff
path: root/ace/Token.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Token.cpp')
-rw-r--r--ace/Token.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/ace/Token.cpp b/ace/Token.cpp
index c51629f549b..748016d8dea 100644
--- a/ace/Token.cpp
+++ b/ace/Token.cpp
@@ -165,7 +165,6 @@ ACE_Token::ACE_Token (const ACE_TCHAR *name, void *any)
in_use_ (0),
waiters_ (0),
nesting_level_ (0),
- signal_all_threads_ (0),
attributes_ (USYNC_THREAD)
{
// ACE_TRACE ("ACE_Token::ACE_Token");
@@ -318,9 +317,6 @@ ACE_Token::shared_acquire (void (*sleep_hook_func)(void *),
// If this is a normal wakeup, this thread should be runnable.
ACE_ASSERT (my_entry.runable_);
- if (this->signal_all_threads_ != 0)
- return 2;
-
return ret;
}
@@ -473,9 +469,6 @@ ACE_Token::renew (int requeue_position,
// Reinstate nesting level.
this->nesting_level_ = save_nesting_level_;
- if (this->signal_all_threads_ != 0)
- return 2;
-
return 0;
}
@@ -524,7 +517,6 @@ ACE_Token::wakeup_next_waiter (void)
this->readers_.head_ == 0)
{
// No more waiters...
- this->signal_all_threads_ = 0;
return;
}
@@ -550,17 +542,6 @@ ACE_Token::wakeup_next_waiter (void)
this->owner_ = queue->head_->thread_id_;
}
-int
-ACE_Token::signal_all_threads (void)
-{
- ACE_TRACE ("ACE_Token::release");
- ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->lock_, -1);
-
- if (this->waiters_ != 0)
- this->signal_all_threads_ = 1;
- return this->waiters_;
-}
-
#endif /* ACE_HAS_THREADS */
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)