You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2015/08/04 01:10:13 UTC
[2/7] trafficserver git commit: Revert "TS-3810 traffic_manager leaks
that thread stack, make sure to detach the threads"
Revert "TS-3810 traffic_manager leaks that thread stack, make sure to detach the threads"
This reverts commit b5c7dbb8a9265e83742a0c56744c9fa4a298c7f0.
jpeach says to pass the detach=1 to ink_thread_create.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/9180ed6c
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/9180ed6c
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/9180ed6c
Branch: refs/heads/6.0.x
Commit: 9180ed6c514b586249c21bacc33e12e84e6301fc
Parents: b5c7dbb
Author: Leif Hedstrom <zw...@apache.org>
Authored: Fri Jul 31 14:33:23 2015 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Fri Jul 31 14:33:23 2015 -0600
----------------------------------------------------------------------
cmd/traffic_manager/MgmtHandlers.cc | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9180ed6c/cmd/traffic_manager/MgmtHandlers.cc
----------------------------------------------------------------------
diff --git a/cmd/traffic_manager/MgmtHandlers.cc b/cmd/traffic_manager/MgmtHandlers.cc
index 0569d2b..a7f44ce 100644
--- a/cmd/traffic_manager/MgmtHandlers.cc
+++ b/cmd/traffic_manager/MgmtHandlers.cc
@@ -258,8 +258,6 @@ mgmt_synthetic_main(void *)
if (thrId <= 0) {
mgmt_log(stderr, "[SyntheticHealthServer] Failed to create worker thread");
- } else {
- pthread_detach(thrId); // We don't care to join this sucker
}
}
}