You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2016/07/01 02:54:33 UTC

[trafficserver] branch 6.2.x updated: TS-4625 epic: Adds a mutex to the continutation

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

sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/6.2.x by this push:
       new  19de79a   TS-4625 epic: Adds a mutex to the continutation
19de79a is described below

commit 19de79a26756e77d59a79fec95ea57aae06cc429
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Thu Jun 30 19:48:32 2016 -0600

    TS-4625 epic: Adds a mutex to the continutation
    
    (cherry picked from commit 5bb407696216d6b678065f17917c15b2a3d9255b)
---
 plugins/experimental/epic/epic.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/experimental/epic/epic.cc b/plugins/experimental/epic/epic.cc
index 8c91e72..6769006 100644
--- a/plugins/experimental/epic/epic.cc
+++ b/plugins/experimental/epic/epic.cc
@@ -339,5 +339,5 @@ TSPluginInit(int argc, const char *argv[])
   }
 
   debug("initialized plugin with directory %s and period %d sec", epic_prefix, (int)epic_period);
-  TSContScheduleEvery(TSContCreate(epic_flush_stats, NULL), epic_period * 1000ll, TS_THREAD_POOL_TASK);
+  TSContScheduleEvery(TSContCreate(epic_flush_stats, TSMutexCreate()), epic_period * 1000ll, TS_THREAD_POOL_TASK);
 }

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].