Skip to content

Commit

Permalink
Deshim FunctionScheduler in thrift
Browse files Browse the repository at this point in the history
Summary:
The following rules were deshimmed:
```
//folly/experimental:function_scheduler -> //folly/executors:function_scheduler
```

The following headers were deshimmed:
```
folly/experimental/FunctionScheduler.h -> folly/executors/FunctionScheduler.h
```

This is a codemod. It was automatically generated and will be landed once it is approved and tests are passing in sandcastle.
You have been added as a reviewer by Sentinel or Butterfly.

p:ad_defsx.thrift

Reviewed By: yfeldblum

Differential Revision: D58155075

fbshipit-source-id: ab249347e5d464ab41b5acf410dbc580945b9693
  • Loading branch information
Gownta authored and facebook-github-bot committed Jun 6, 2024
1 parent b6609b6 commit a0aa1db
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <chrono>
#include <cmath>
#include <random>
#include <folly/experimental/FunctionScheduler.h>
#include <folly/executors/FunctionScheduler.h>
#include <folly/experimental/coro/SmallUnboundedQueue.h>
#include <thrift/conformance/stresstest/client/BaseLoadGenerator.h>

Expand Down
2 changes: 1 addition & 1 deletion thrift/conformance/stresstest/client/TestRunner.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <unordered_map>

#include <folly/experimental/FunctionScheduler.h>
#include <folly/executors/FunctionScheduler.h>

#include <thrift/conformance/stresstest/client/ClientConfig.h>
#include <thrift/conformance/stresstest/client/ClientRunner.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/lib/cpp/concurrency/SFQThreadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#include <thrift/lib/cpp/concurrency/SFQThreadManager.h>

#include <glog/logging.h>
#include <folly/executors/FunctionScheduler.h>
#include <folly/executors/MeteredExecutor.h>
#include <folly/experimental/FunctionScheduler.h>
#include <folly/hash/Hash.h>

#include <thrift/lib/cpp/concurrency/SFQThreadManager.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/lib/cpp/concurrency/SFQThreadManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include <vector>

#include <glog/logging.h>
#include <folly/executors/FunctionScheduler.h>
#include <folly/executors/MeteredExecutor.h>
#include <folly/experimental/FunctionScheduler.h>
#include <folly/hash/Hash.h>

#include <thrift/lib/cpp/concurrency/Thread.h>
Expand Down
2 changes: 1 addition & 1 deletion thrift/lib/cpp2/server/CPUConcurrencyController.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <variant>

#include <folly/Synchronized.h>
#include <folly/experimental/FunctionScheduler.h>
#include <folly/executors/FunctionScheduler.h>
#include <folly/observer/Observer.h>
#include <folly/observer/SimpleObservable.h>
#include <thrift/lib/cpp2/PluggableFunction.h>
Expand Down

0 comments on commit a0aa1db

Please sign in to comment.