This is an automated email from the ASF dual-hosted git repository.
amc 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 397488f Doc: Update TSContSchedule to have TS_THREAD_POOL_DEFAULT
documented. Add some ancillary data to plugin stats to fix some doc build
errors.
397488f is described below
commit 397488f1648351b3ce589d17744a88ee0fb7a809
Author: Alan M. Carroll <[email protected]>
AuthorDate: Mon Apr 17 10:36:41 2017 -0500
Doc: Update TSContSchedule to have TS_THREAD_POOL_DEFAULT documented.
Add some ancillary data to plugin stats to fix some doc build errors.
---
doc/developer-guide/api/functions/TSContSchedule.en.rst | 1 +
doc/developer-guide/api/functions/TSStat.en.rst | 2 +-
doc/developer-guide/plugins/actions/index.en.rst | 3 +--
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/developer-guide/api/functions/TSContSchedule.en.rst
b/doc/developer-guide/api/functions/TSContSchedule.en.rst
index d09049f..51e312b 100644
--- a/doc/developer-guide/api/functions/TSContSchedule.en.rst
+++ b/doc/developer-guide/api/functions/TSContSchedule.en.rst
@@ -47,6 +47,7 @@ The continuation is scheduled for a particular thread
selected from a group of s
===========================
=======================================================================================
Pool Properties
===========================
=======================================================================================
+``TS_THREAD_POOL_DEFAULT`` Use the default pool. Continuations using this
must not block.
``TS_THREAD_POOL_NET`` Transaction processing threads. Continuations on
these threads must not block.
``TS_THREAD_POOL_TASK`` Background threads. Continuations can perform
blocking operations.
``TS_THREAD_POOL_SSL`` *DEPRECATED* - these are no longer used as of ATS
6.
diff --git a/doc/developer-guide/api/functions/TSStat.en.rst
b/doc/developer-guide/api/functions/TSStat.en.rst
index f8ebd69..dbb01fb 100644
--- a/doc/developer-guide/api/functions/TSStat.en.rst
+++ b/doc/developer-guide/api/functions/TSStat.en.rst
@@ -44,7 +44,7 @@ Description
A plugin statistic is created by :func:`TSStatCreate`. The :arg:`name` must be
globally unique and
should follow the standard dotted tag form. To avoid collisions and for easy
of use the first tag
should be the plugin name or something easily derived from it. Currently only
integers are suppored
-therefore :arg:`type` must be :macro:`TS_RECORDTYPE_INT`. The return value is
the index of the
+therefore :arg:`type` must be :macro:`TS_RECORD_DATATYPE_INT`. The return
value is the index of the
statistic. In general thsi should work but if it doesn't it will
:code:`assert`. In particular,
creating the same statistic twice will fail in this way, which can happen if
statistics are created
as part of or based on configuration files and |TS| is reloaded.
diff --git a/doc/developer-guide/plugins/actions/index.en.rst
b/doc/developer-guide/plugins/actions/index.en.rst
index 59abc56..4c1aaf5 100644
--- a/doc/developer-guide/plugins/actions/index.en.rst
+++ b/doc/developer-guide/plugins/actions/index.en.rst
@@ -168,11 +168,10 @@ cancel the action. The following sample code implements
this:
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 action functions are:
- :c:func:`TSActionCancel`
- :c:func:`TSActionDone`
-
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].