Removing call to google::setThreadName from FunctionScheduler
authorAndrei Alexandrescu <aalexandre@fb.com>
Tue, 24 Feb 2015 21:09:36 +0000 (13:09 -0800)
committerAlecs King <int@fb.com>
Tue, 3 Mar 2015 03:29:28 +0000 (19:29 -0800)
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

index 24667fca2bf961b774946d20c89c2980c4932b94..78b0aeeb9f378cdbafc9a94bd796e8edba14368b 100644 (file)
@@ -189,7 +189,6 @@ void FunctionScheduler::run() {
 
   if (!threadName_.empty()) {
     folly::setThreadName(threadName_);
-    google::setThreadName(threadName_);
   }
 
   while (running_) {