From 2d16074880202b414b7c6351a24590fcc9bd7026 Mon Sep 17 00:00:00 2001 From: Andrei Alexandrescu Date: Tue, 24 Feb 2015 13:09:36 -0800 Subject: [PATCH] Removing call to google::setThreadName from FunctionScheduler Summary: Funnily, google::setThreadName is Facebook specific: it's introduced only in the FB build of glog. This diff removes the call because folly should not depend on FB's glog. Test Plan: made sure the line was deleted Reviewed By: ldbrandy@fb.com Subscribers: net-systems@, folly-diffs@, yfeldblum FB internal diff: D1868249 Tasks: 6345935 Signature: t1:1868249:1424812595:2a084754d614ab9b7b6168454f33638882e3f6db --- folly/experimental/FunctionScheduler.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/folly/experimental/FunctionScheduler.cpp b/folly/experimental/FunctionScheduler.cpp index 24667fca..78b0aeeb 100644 --- a/folly/experimental/FunctionScheduler.cpp +++ b/folly/experimental/FunctionScheduler.cpp @@ -189,7 +189,6 @@ void FunctionScheduler::run() { if (!threadName_.empty()) { folly::setThreadName(threadName_); - google::setThreadName(threadName_); } while (running_) { -- 2.34.1