Move wangle to folly
authorDave Watson <davejwatson@fb.com>
Fri, 21 Feb 2014 20:59:25 +0000 (12:59 -0800)
committerDave Watson <davejwatson@fb.com>
Fri, 28 Feb 2014 22:02:15 +0000 (14:02 -0800)
commitd0cb48287178710c04d0fbfa4f6f904084839280
treec951ff55633bea14cd4b412ce820aeafa27f22d8
parentab5a66e2c0ab6e1392f3c7ca855cd21462675ee6
Move wangle to folly

Summary:
* git mv
* codemod facebook::wangle folly::wangle
* Change 'runnable' to be a base class in wangle instead of thrift

Justification:
* std::future doesn't have then, whenall, etc.
* boost::future doesn't support executors

@override-unit-failures

Test Plan: contbuild and pray

Reviewed By: hans@fb.com

FB internal diff: D1185194
24 files changed:
folly/Makefile.am
folly/wangle/Executor.h [new file with mode: 0644]
folly/wangle/Future-inl.h [new file with mode: 0644]
folly/wangle/Future.h [new file with mode: 0644]
folly/wangle/GenericThreadGate.h [new file with mode: 0644]
folly/wangle/InlineExecutor.cpp [new file with mode: 0644]
folly/wangle/InlineExecutor.h [new file with mode: 0644]
folly/wangle/Later-inl.h [new file with mode: 0644]
folly/wangle/Later.h [new file with mode: 0644]
folly/wangle/ManualExecutor.cpp [new file with mode: 0644]
folly/wangle/ManualExecutor.h [new file with mode: 0644]
folly/wangle/Promise-inl.h [new file with mode: 0644]
folly/wangle/Promise.h [new file with mode: 0644]
folly/wangle/README [new file with mode: 0644]
folly/wangle/ThreadGate.cpp [new file with mode: 0644]
folly/wangle/ThreadGate.h [new file with mode: 0644]
folly/wangle/Try-inl.h [new file with mode: 0644]
folly/wangle/Try.h [new file with mode: 0644]
folly/wangle/WangleException.h [new file with mode: 0644]
folly/wangle/detail.h [new file with mode: 0644]
folly/wangle/test/FutureTest.cpp [new file with mode: 0644]
folly/wangle/test/LaterTest.cpp [new file with mode: 0644]
folly/wangle/test/ThreadGateTest.cpp [new file with mode: 0644]
folly/wangle/test/main.cpp [new file with mode: 0644]