[asterisk-scf-commits] asterisk-scf/integration/ice-util-cpp.git branch "thread_pool_update" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Jul 27 15:18:07 CDT 2012


branch "thread_pool_update" has been updated
       via  9f209f900dce74fd8b37805b7812937081e25f1a (commit)
      from  ee188408f940769bd9860a6cb2ae61fca50ff8c6 (commit)

Summary of changes:
 src/WorkQueue/SuspendableWorkQueue.cpp |    2 +-
 src/WorkQueue/WorkQueue.cpp            |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 9f209f900dce74fd8b37805b7812937081e25f1a
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Fri Jul 27 15:17:44 2012 -0500

    gcc hates ken.

diff --git a/src/WorkQueue/SuspendableWorkQueue.cpp b/src/WorkQueue/SuspendableWorkQueue.cpp
index 6939e36..26a342c 100644
--- a/src/WorkQueue/SuspendableWorkQueue.cpp
+++ b/src/WorkQueue/SuspendableWorkQueue.cpp
@@ -262,7 +262,7 @@ void SuspendableWorkQueue::enqueueWork(const SuspendableWorkPtr& work)
 
 void SuspendableWorkQueue::enqueueWorkSeq(const SuspendableWorkSeq& works)
 {
-    int newSize = 0;
+    Ice::Long newSize = 0;
     QueueListenerPtr listenerRef;
     {
         boost::unique_lock<boost::shared_mutex> lock(mPriv->mLock);
diff --git a/src/WorkQueue/WorkQueue.cpp b/src/WorkQueue/WorkQueue.cpp
index 0e3eca8..7576692 100644
--- a/src/WorkQueue/WorkQueue.cpp
+++ b/src/WorkQueue/WorkQueue.cpp
@@ -101,8 +101,7 @@ void WorkQueue::enqueueWork(const WorkPtr& work)
 
 void WorkQueue::enqueueWorkSeq(const WorkSeq& works)
 {
-    bool wasEmpty;
-    int newSize=0;
+    Ice::Long newSize=0;
     QueueListenerPtr listenerRef;
     {
         boost::unique_lock<boost::shared_mutex> lock(mPriv->mLock);

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list