This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 89e388e  corrects calls to TSContSchedule
89e388e is described below

commit 89e388ed3bd0e8919b020bcc92b273f2fbfabb55
Author: Derek Dagit <[email protected]>
AuthorDate: Mon Nov 13 16:45:21 2017 -0600

    corrects calls to TSContSchedule
---
 doc/developer-guide/plugins/actions/index.en.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/developer-guide/plugins/actions/index.en.rst 
b/doc/developer-guide/plugins/actions/index.en.rst
index 4c1aaf5..afe6ee1 100644
--- a/doc/developer-guide/plugins/actions/index.en.rst
+++ b/doc/developer-guide/plugins/actions/index.en.rst
@@ -97,7 +97,7 @@ Below is an example of typical usage for an action:
                system is initialized. We'll simply schedule an event
                on the continuation to occur as soon as the rest of
                the system is started up. */
-            TSContSchedule (contp, 0);
+            TSContSchedule (contp, 0, TS_THREAD_POOL_DEFAULT);
         }
 
 The example above shows a simple plugin that creates a continuation and
@@ -127,7 +127,7 @@ cancel the action. The following sample code implements 
this:
         {
             switch (event) {
                 case (TS_EVENT_IMMEDIATE):
-                    TSContSchedule (contp, 30000);
+                    TSContSchedule (contp, 30000, TS_THREAD_POOL_DEFAULT);
                     TSAction actionp = TSNetConnect(contp, 127.0.0.1, 9999);
                     if (!TSActionDone (actionp)) {
                         TSContDataSet (contp, actionp);

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to