Skip to content

Commit

Permalink
Move fibers out of experimental
Browse files Browse the repository at this point in the history
Summary: folly::fibers have been used by mcrouter for more than 2 years, so not really experimental.

Reviewed By: pavlo-fb

Differential Revision: D3320595

fbshipit-source-id: 68188f92b71a4206d57222993848521ca5437ef5
  • Loading branch information
andriigrynenko authored and Facebook Github Bot 5 committed May 19, 2016
1 parent 6698301 commit 2622d2f
Show file tree
Hide file tree
Showing 40 changed files with 108 additions and 108 deletions.
64 changes: 32 additions & 32 deletions folly/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -96,32 +96,32 @@ nobase_follyinclude_HEADERS = \
experimental/EventCount.h \
experimental/Instructions.h \
experimental/bser/Bser.h \
experimental/fibers/AddTasks.h \
experimental/fibers/AddTasks-inl.h \
experimental/fibers/Baton.h \
experimental/fibers/Baton-inl.h \
experimental/fibers/BoostContextCompatibility.h \
experimental/fibers/EventBaseLoopController.h \
experimental/fibers/EventBaseLoopController-inl.h \
experimental/fibers/Fiber.h \
experimental/fibers/Fiber-inl.h \
experimental/fibers/FiberManager.h \
experimental/fibers/FiberManager-inl.h \
experimental/fibers/FiberManagerMap.h \
experimental/fibers/ForEach.h \
experimental/fibers/ForEach-inl.h \
experimental/fibers/GenericBaton.h \
experimental/fibers/GuardPageAllocator.h \
experimental/fibers/LoopController.h \
experimental/fibers/Promise.h \
experimental/fibers/Promise-inl.h \
experimental/fibers/SimpleLoopController.h \
experimental/fibers/TimedMutex.h \
experimental/fibers/TimedMutex-inl.h \
experimental/fibers/TimeoutController.h \
experimental/fibers/traits.h \
experimental/fibers/WhenN.h \
experimental/fibers/WhenN-inl.h \
fibers/AddTasks.h \
fibers/AddTasks-inl.h \
fibers/Baton.h \
fibers/Baton-inl.h \
fibers/BoostContextCompatibility.h \
fibers/EventBaseLoopController.h \
fibers/EventBaseLoopController-inl.h \
fibers/Fiber.h \
fibers/Fiber-inl.h \
fibers/FiberManager.h \
fibers/FiberManager-inl.h \
fibers/FiberManagerMap.h \
fibers/ForEach.h \
fibers/ForEach-inl.h \
fibers/GenericBaton.h \
fibers/GuardPageAllocator.h \
fibers/LoopController.h \
fibers/Promise.h \
fibers/Promise-inl.h \
fibers/SimpleLoopController.h \
fibers/TimedMutex.h \
fibers/TimedMutex-inl.h \
fibers/TimeoutController.h \
fibers/traits.h \
fibers/WhenN.h \
fibers/WhenN-inl.h \
experimental/FunctionScheduler.h \
experimental/FutureDAG.h \
experimental/io/FsUtil.h \
Expand Down Expand Up @@ -464,12 +464,12 @@ libfolly_la_SOURCES = \
experimental/bser/Dump.cpp \
experimental/bser/Load.cpp \
experimental/DynamicParser.cpp \
experimental/fibers/Baton.cpp \
experimental/fibers/Fiber.cpp \
experimental/fibers/FiberManager.cpp \
experimental/fibers/FiberManagerMap.cpp \
experimental/fibers/GuardPageAllocator.cpp \
experimental/fibers/TimeoutController.cpp \
fibers/Baton.cpp \
fibers/Fiber.cpp \
fibers/FiberManager.cpp \
fibers/FiberManagerMap.cpp \
fibers/GuardPageAllocator.cpp \
fibers/TimeoutController.cpp \
experimental/FunctionScheduler.cpp \
experimental/io/FsUtil.cpp \
experimental/JSONSchema.cpp \
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#include <vector>

#include <folly/Optional.h>
#include <folly/experimental/fibers/FiberManager.h>
#include <folly/experimental/fibers/Promise.h>
#include <folly/fibers/FiberManager.h>
#include <folly/fibers/Promise.h>
#include <folly/futures/Try.h>

namespace folly {
Expand Down Expand Up @@ -131,4 +131,4 @@ class TaskIterator {
}
}

#include <folly/experimental/fibers/AddTasks-inl.h>
#include <folly/fibers/AddTasks-inl.h>
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <folly/experimental/fibers/Fiber.h>
#include <folly/experimental/fibers/FiberManager.h>
#include <folly/fibers/Fiber.h>
#include <folly/fibers/FiberManager.h>

namespace folly {
namespace fibers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <chrono>

#include <folly/detail/MemoryIdler.h>
#include <folly/experimental/fibers/FiberManager.h>
#include <folly/fibers/FiberManager.h>
#include <folly/portability/Asm.h>

namespace folly {
Expand Down
4 changes: 2 additions & 2 deletions folly/experimental/fibers/Baton.h → folly/fibers/Baton.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <atomic>

#include <folly/detail/Futex.h>
#include <folly/experimental/fibers/TimeoutController.h>
#include <folly/fibers/TimeoutController.h>

namespace folly {
namespace fibers {
Expand Down Expand Up @@ -188,4 +188,4 @@ class Baton {
}
}

#include <folly/experimental/fibers/Baton-inl.h>
#include <folly/fibers/Baton-inl.h>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* limitations under the License.
*/
#include <folly/Memory.h>
#include <folly/experimental/fibers/EventBaseLoopController.h>
#include <folly/experimental/fibers/FiberManager.h>
#include <folly/fibers/EventBaseLoopController.h>
#include <folly/fibers/FiberManager.h>

namespace folly {
namespace fibers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
#pragma once

#include <folly/experimental/fibers/LoopController.h>
#include <folly/fibers/LoopController.h>
#include <folly/io/async/EventBase.h>
#include <atomic>
#include <memory>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

#include <folly/Likely.h>
#include <folly/Portability.h>
#include <folly/experimental/fibers/BoostContextCompatibility.h>
#include <folly/experimental/fibers/FiberManager.h>
#include <folly/fibers/BoostContextCompatibility.h>
#include <folly/fibers/FiberManager.h>
#include <folly/portability/SysSyscall.h>

namespace folly {
Expand Down
8 changes: 4 additions & 4 deletions folly/experimental/fibers/Fiber.h → folly/fibers/Fiber.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
#include <functional>
#include <typeinfo>

#include <boost/context/all.hpp>
#include <boost/version.hpp>
#include <folly/AtomicIntrusiveLinkedList.h>
#include <folly/CPortability.h>
#include <folly/Function.h>
#include <folly/IntrusiveList.h>
#include <folly/Portability.h>
#include <folly/experimental/fibers/BoostContextCompatibility.h>
#include <folly/fibers/BoostContextCompatibility.h>
#include <folly/io/async/Request.h>
#include <boost/context/all.hpp>
#include <boost/version.hpp>

namespace folly {
namespace fibers {
Expand Down Expand Up @@ -189,4 +189,4 @@ class Fiber {
}
}

#include <folly/experimental/fibers/Fiber-inl.h>
#include <folly/fibers/Fiber-inl.h>
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
#ifdef __APPLE__
#include <folly/ThreadLocal.h>
#endif
#include <folly/experimental/fibers/Baton.h>
#include <folly/experimental/fibers/Fiber.h>
#include <folly/experimental/fibers/LoopController.h>
#include <folly/experimental/fibers/Promise.h>
#include <folly/fibers/Baton.h>
#include <folly/fibers/Fiber.h>
#include <folly/fibers/LoopController.h>
#include <folly/fibers/Promise.h>
#include <folly/futures/Promise.h>
#include <folly/futures/Try.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

#include <glog/logging.h>

#include <folly/experimental/fibers/Fiber.h>
#include <folly/experimental/fibers/LoopController.h>
#include <folly/fibers/Fiber.h>
#include <folly/fibers/LoopController.h>

#include <folly/SingletonThreadLocal.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
#include <folly/io/async/Request.h>

#include <folly/experimental/ExecutionObserver.h>
#include <folly/experimental/fibers/BoostContextCompatibility.h>
#include <folly/experimental/fibers/Fiber.h>
#include <folly/experimental/fibers/GuardPageAllocator.h>
#include <folly/experimental/fibers/TimeoutController.h>
#include <folly/experimental/fibers/traits.h>
#include <folly/fibers/BoostContextCompatibility.h>
#include <folly/fibers/Fiber.h>
#include <folly/fibers/GuardPageAllocator.h>
#include <folly/fibers/TimeoutController.h>
#include <folly/fibers/traits.h>

namespace folly {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*/
#pragma once

#include <folly/experimental/fibers/EventBaseLoopController.h>
#include <folly/experimental/fibers/FiberManager.h>
#include <folly/fibers/EventBaseLoopController.h>
#include <folly/fibers/FiberManager.h>

namespace folly {
namespace fibers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <folly/experimental/fibers/FiberManager.h>
#include <folly/fibers/FiberManager.h>

namespace folly {
namespace fibers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ inline void forEach(InputIterator first, InputIterator last, F&& f);
}
} // folly::fibers

#include <folly/experimental/fibers/ForEach-inl.h>
#include <folly/fibers/ForEach-inl.h>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <folly/Baton.h>

#include <folly/experimental/fibers/Baton.h>
#include <folly/fibers/Baton.h>

namespace folly {
namespace fibers {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <folly/experimental/fibers/Baton.h>
#include <folly/fibers/Baton.h>

namespace folly {
namespace fibers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
#pragma once

#include <folly/experimental/fibers/traits.h>
#include <folly/fibers/traits.h>
#include <folly/futures/Try.h>

namespace folly {
Expand Down Expand Up @@ -101,4 +101,4 @@ class Promise {
}
}

#include <folly/experimental/fibers/Promise-inl.h>
#include <folly/fibers/Promise-inl.h>
Loading

0 comments on commit 2622d2f

Please sign in to comment.