[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "workqueue" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Mar 16 16:54:12 CDT 2011


branch "workqueue" has been updated
       via  8e36ca4e38d9c05a52112233005739820d1d48c8 (commit)
      from  754feb2254c8e1fca87c77153d19c99f2415d582 (commit)

Summary of changes:
 AsteriskSCF/System/ThreadPool/ThreadPoolIf.ice |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)


- Log -----------------------------------------------------------------
commit 8e36ca4e38d9c05a52112233005739820d1d48c8
Author: Mark Michelson <mmichelson at digium.com>
Date:   Wed Mar 16 16:53:34 2011 -0500

    Move the PoolListener definition below the Pool and change variable names so as not to confuse slice2cpp

diff --git a/AsteriskSCF/System/ThreadPool/ThreadPoolIf.ice b/AsteriskSCF/System/ThreadPool/ThreadPoolIf.ice
index 617e62d..ea40393 100644
--- a/AsteriskSCF/System/ThreadPool/ThreadPoolIf.ice
+++ b/AsteriskSCF/System/ThreadPool/ThreadPoolIf.ice
@@ -29,22 +29,23 @@ module ThreadPool
 
 module V1
 {
-    local interface PoolListener
-    {
-        void stateChanged(Pool pool, int activeThreads, int idleThreads, int zombieThreads);
-        void queueWorkAdded(Pool pool, int newWorkCount, bool wasEmpty);
-        void queueEmptied(Pool pool);
-    };
 
     local interface Pool
     {
         void setSize(int size);
         AsteriskSCF::System::WorkQueue::V1::Queue getQueue();
     };
+
+    local interface PoolListener
+    {
+        void stateChanged(Pool tpool, int activeThreads, int idleThreads, int zombieThreads);
+        void queueWorkAdded(Pool tpool, int newWorkCount, bool wasEmpty);
+        void queueEmptied(Pool tpool);
+    };
     
     local interface PoolFactory
     {
-        Pool createPool(PoolListener listener, AsteriskSCF::System::Workqueue::V1::Queue queue);
+        Pool createPool(PoolListener listener, AsteriskSCF::System::WorkQueue::V1::Queue wqueue);
     };
 
 }; /* End of V1 */

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list