Repository: trafficserver Updated Branches: refs/heads/master b5c7dbb8a -> a532d6d9d
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/master Commit: 9180ed6c514b586249c21bacc33e12e84e6301fc Parents: b5c7dbb Author: Leif Hedstrom <[email protected]> Authored: Fri Jul 31 14:33:23 2015 -0600 Committer: Leif Hedstrom <[email protected]> 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 } } }
