[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
Mon Mar 7 15:55:34 CST 2011


branch "workqueue" has been updated
       via  a790d38036eb58e1338e05377d85ba22424f1b5d (commit)
       via  7303842f83419759671508c0addaeaf45281bf11 (commit)
      from  c5e324b61fb53d05ccb174e521f523d5e56cc2ae (commit)

Summary of changes:
 AsteriskSCF/System/WorkQueue/WorkQueueIf.ice |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit a790d38036eb58e1338e05377d85ba22424f1b5d
Author: Mark Michelson <mmichelson at digium.com>
Date:   Mon Mar 7 15:55:04 2011 -0600

    Change the execute method back to taking no parameter.

diff --git a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
index 7acb52a..9998c1e 100644
--- a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
+++ b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
@@ -66,7 +66,7 @@ module V1
 
     local interface SuspendableWork
     {
-        SuspendableWorkResult execute(SuspendableQueue queue);
+        SuspendableWorkResult execute();
     };
 
     local sequence<SuspendableWork> SuspendableWorkSeq;

commit 7303842f83419759671508c0addaeaf45281bf11
Author: Mark Michelson <mmichelson at digium.com>
Date:   Mon Mar 7 15:40:26 2011 -0600

    Add a few refinements to the SuspendableWorkQueue.
    
    This helps to further suggest a method by which suspended work
    can eventually let any worker threads know that the work can
    be resumed.

diff --git a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
index c6e7cb0..7acb52a 100644
--- a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
+++ b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
@@ -31,6 +31,7 @@ module V1
     local interface QueueListener
     {
         void workAdded(bool wasEmpty);
+        void workResumable();
         void emptied();
     };
 
@@ -65,7 +66,7 @@ module V1
 
     local interface SuspendableWork
     {
-        SuspendableWorkResult execute();
+        SuspendableWorkResult execute(SuspendableQueue queue);
     };
 
     local sequence<SuspendableWork> SuspendableWorkSeq;

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list