You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2008/08/28 04:17:49 UTC

svn commit: r689700 - in /activemq/activemq-cpp/trunk/src/main/decaf/lang: Thread.cpp Thread.h

Author: tabish
Date: Wed Aug 27 19:17:49 2008
New Revision: 689700

URL: http://svn.apache.org/viewvc?rev=689700&view=rev
Log:
Add Thread::yield()

Modified:
    activemq/activemq-cpp/trunk/src/main/decaf/lang/Thread.cpp
    activemq/activemq-cpp/trunk/src/main/decaf/lang/Thread.h

Modified: activemq/activemq-cpp/trunk/src/main/decaf/lang/Thread.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/lang/Thread.cpp?rev=689700&r1=689699&r2=689700&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/lang/Thread.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/lang/Thread.cpp Wed Aug 27 19:17:49 2008
@@ -98,7 +98,7 @@
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Thread::yeild() {
+void Thread::yield() {
     apr_thread_yield();
 }
 

Modified: activemq/activemq-cpp/trunk/src/main/decaf/lang/Thread.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/lang/Thread.h?rev=689700&r1=689699&r2=689700&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/lang/Thread.h (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/lang/Thread.h Wed Aug 27 19:17:49 2008
@@ -116,7 +116,7 @@
          * Causes the currently executing thread object to temporarily pause
          * and allow other threads to execute.
          */
-        static void yeild();
+        static void yield();
 
         /**
          * Obtains the Thread Id of the current thread