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 f8ae964  Doc: TSEventThreadSelf.
f8ae964 is described below

commit f8ae96426d31bea9c47c59eb7e97b94be65816ed
Author: Alan M. Carroll <a...@apache.org>
AuthorDate: Fri Feb 1 09:20:51 2019 -0600

    Doc: TSEventThreadSelf.
---
 .../api/functions/TSEventThreadSelf.en.rst         | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/doc/developer-guide/api/functions/TSEventThreadSelf.en.rst 
b/doc/developer-guide/api/functions/TSEventThreadSelf.en.rst
new file mode 100644
index 0000000..0c7728a
--- /dev/null
+++ b/doc/developer-guide/api/functions/TSEventThreadSelf.en.rst
@@ -0,0 +1,36 @@
+.. Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed
+   with this work for additional information regarding copyright
+   ownership.  The ASF licenses this file to you under the Apache
+   License, Version 2.0 (the "License"); you may not use this file
+   except in compliance with the License.  You may obtain a copy of
+   the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+   implied.  See the License for the specific language governing
+   permissions and limitations under the License.
+
+.. include:: ../../../common.defs
+
+.. default-domain:: c
+
+TSEventThreadSelf
+*****************
+
+Synopsis
+========
+
+`#include <ts/ts.h>`
+
+.. function:: TSEventThread TSEventThreadSelf(void)
+
+Description
+===========
+
+Return a value that refers to the current :term:`event thread`. This must be 
called from a thread
+with an :term:`event loop`. This will be true from any callback invoked from a 
hook or a scheduled
+event.

Reply via email to