trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [1/2] trafficserver git commit: TS-3601 Eliminate unnecessary mutex for txn handler
Date Mon, 18 May 2015 15:07:00 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master cc40b928b -> cea8e28de


TS-3601 Eliminate unnecessary mutex for txn handler


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/341e8351
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/341e8351
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/341e8351

Branch: refs/heads/master
Commit: 341e8351abce058cf171009e7b6c529b8a295869
Parents: cc40b92
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Wed May 13 14:30:02 2015 -0600
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Mon May 18 09:03:52 2015 -0600

----------------------------------------------------------------------
 plugins/experimental/cache_promote/cache_promote.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/341e8351/plugins/experimental/cache_promote/cache_promote.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/cache_promote/cache_promote.cc b/plugins/experimental/cache_promote/cache_promote.cc
index 866b01a..fbf2cc8 100644
--- a/plugins/experimental/cache_promote/cache_promote.cc
+++ b/plugins/experimental/cache_promote/cache_promote.cc
@@ -461,7 +461,7 @@ TSRemapNewInstance(int argc, char *argv[], void **ih, char * /* errbuf
*/, int /
   --argc;
   ++argv;
   if (config->factory(argc, argv)) {
-    TSCont contp = TSContCreate(cont_handle_policy, TSMutexCreate());
+    TSCont contp = TSContCreate(cont_handle_policy, NULL);
 
     TSContDataSet(contp, static_cast<void *>(config));
     *ih = static_cast<void *>(contp);


Mime
View raw message