Latest commit 8bed062 Sep 26, 2016 Phil Willoughby committed with Facebook Github Bot 1 Make a SharedPromise from a Future
Summary: Makes it easy to split a Future into multiple Futures

Reviewed By: rongrong

Differential Revision: D3885897

fbshipit-source-id: 6ac9fb22444dd828fbdebb44b06bf3d93d0f7583
Permalink
..
Failed to load latest commit information.
build Update generate_varint_tables to support MSVC May 24, 2016
detail update stats APIs to use TimePoint vs Duration correctly Sep 16, 2016
docs Nomenclature in Synchronized - prefer read to shared Sep 9, 2016
experimental experimental/observer/detail/ObserverManager.cpp missing gflags Sep 22, 2016
fibers Fix fibers asan integration for new asan APIs Sep 20, 2016
futures Make a SharedPromise from a Future Sep 26, 2016
gen Use the GTest portability headers Sep 10, 2016
init Consolidate namespace for using GFlags. Aug 31, 2016
io Add logs for TFO succeded Sep 22, 2016
m4 Added a better check for openssl Aug 30, 2016
portability Fix compilation for libc++ 3.9 Sep 21, 2016
ssl Use the GTest portability headers Sep 10, 2016
stats update stats APIs to use TimePoint vs Duration correctly Sep 16, 2016
test Switch SocketAddressTest to use TemporaryFile instead of mkstemp Sep 22, 2016
ApplyTuple.h Fix applyTuple to work under MSVC again Aug 15, 2016
Arena-inl.h folly copyright 2015 -> copyright 2016 Feb 12, 2016
Arena.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
Array.h Add make_array to folly Apr 19, 2016
Assume.cpp Remove the glog header include from Assume.h Aug 1, 2016
Assume.h Remove the glog header include from Assume.h Aug 1, 2016
AtomicBitSet.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
AtomicHashArray-inl.h Allow const mapped types in folly::AtomicHash(Array|Map) Jun 9, 2016
AtomicHashArray.h Fix a couple comments Sep 22, 2016
AtomicHashMap-inl.h folly copyright 2015 -> copyright 2016 Feb 12, 2016
AtomicHashMap.h Fix a couple comments Sep 22, 2016
AtomicIntrusiveLinkedList.h Don't attempt to implicitly convert an atomic<T> to bool May 4, 2016
AtomicLinkedList.h Non-intrusive AtomicLinkedList Apr 16, 2016
AtomicStruct.h Allow constexpr construction of AtomicStruct under MSVC Jun 4, 2016
AtomicUnorderedMap.h Switch uses of <unistd.h> to <folly/portability/Unistd.h> May 30, 2016
Baton.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
Benchmark.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
Benchmark.h Fix a few typos all over the code May 10, 2016
Bits.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
Bits.h Assume p is not nullptr in storeUnaligned Aug 4, 2016
CPortability.h folly: define FOLLY_SANITIZE_THREAD convenience macro for TSAN Jun 6, 2016
CachelinePadded.h Add CachelinePadded<T> to folly. Aug 26, 2016
CallOnce.h Add call_once, wrapper around std::call_once with a fast path Feb 17, 2016
Checksum.cpp Use the standard intrinsics for crc32c Jun 16, 2016
Checksum.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
ClockGettimeWrappers.cpp Wrappers folly::chrono::clock_gettime and clock_gettime_ns Jul 19, 2016
ClockGettimeWrappers.h Wrappers folly::chrono::clock_gettime and clock_gettime_ns Jul 19, 2016
ConcurrentSkipList-inl.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
ConcurrentSkipList.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
ContainerTraits.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
Conv.cpp Mark the long overload of digits_to as noexcept Aug 19, 2016
Conv.h Fix folly conversions for Clang with GCC5's libstdc++ Sep 1, 2016
CppAttributes.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
CpuId.h Avoid external linkage call inside __ifunc__ Sep 23, 2016
Demangle.cpp Limit symbol length in demangle() Jul 29, 2016
Demangle.h folly copyright 2015 -> copyright 2016 Feb 12, 2016
DiscriminatedPtr.h Added DiscriminatedPtr support to arm64 Aug 3, 2016
DynamicConverter.h Use std::string in folly::dynamic Apr 26, 2016
Enumerate.h Fix Enumerate C++17 Support Aug 4, 2016
EvictingCacheMap.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
Exception.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
ExceptionString.h Get rid of circular dependency when including ExceptionWrapper.h from… Jun 10, 2016
ExceptionWrapper.h Get rid of circular dependency when including ExceptionWrapper.h from… Jun 10, 2016
Executor.h use folly::Function<void()> in folly::Executor interface Sep 20, 2016
Expected.h work around LLVM#30305 in folly::Expected, use unified initialization… Sep 16, 2016
FBString.h Do not mess with NDEBUG in fbstring Sep 12, 2016
FBVector.h Fix typos in FBVector's comments Aug 13, 2016
File.cpp Switch uses of <unistd.h> to <folly/portability/Unistd.h> May 30, 2016
File.h Switch uses of <unistd.h> to <folly/portability/Unistd.h> May 30, 2016
FileUtil.cpp Use the socket portability layer when needed. Aug 5, 2016
FileUtil.h Include the fcntl.h portability header where it's needed Aug 4, 2016
Fingerprint.h folly: fix clang's -Wundefined-var-template Jun 25, 2016
Foreach.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
Format-inl.h Don't pass the single quote format parameter when formatting things Aug 25, 2016
Format.cpp Start compiling a bit of `-Wshadow` Apr 6, 2016
Format.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
FormatArg.h Mark FormatArg::error as noreturn Aug 10, 2016
FormatTraits.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
Function.h delete const rvalue reference ctor of folly::Function Sep 2, 2016
GroupVarint.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
GroupVarint.h Enable GroupVarint on Arm64 Jul 14, 2016
Hash.h fix bug for negative shift value Jun 24, 2016
IPAddress.cpp Move IPAddress definitions to source files Jul 9, 2016
IPAddress.h Move IPAddress definitions to source files Jul 9, 2016
IPAddressException.h Move IPAddress definitions to source files Jul 9, 2016
IPAddressV4.cpp Move IPAddress definitions to source files Jul 9, 2016
IPAddressV4.h Move IPAddress definitions to source files Jul 9, 2016
IPAddressV6.cpp Move IPAddress definitions to source files Jul 9, 2016
IPAddressV6.h Move IPAddress definitions to source files Jul 9, 2016
Indestructible.h Get MSVC able to construct an Indestructible Jul 26, 2016
IndexedMemPool.h Switch uses of <unistd.h> to <folly/portability/Unistd.h> May 30, 2016
IntrusiveList.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
Lazy.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
LifoSem.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
LifoSem.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
Likely.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
LockTraits.h Adding policies for all the upgrade and downgrade mutex transitions t… Aug 5, 2016
LockTraitsBoost.h Adding support for upgradable mutexes to LockTraits Aug 5, 2016
Logging.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
MPMCPipeline.h folly copyright 2015 -> copyright 2016 Feb 12, 2016
MPMCQueue.h Improve documentation of MPMCQueue size and sizeGuess methods Sep 23, 2016
MacAddress.cpp Move IPAddress definitions to source files Jul 9, 2016
MacAddress.h Move IPAddress definitions to source files Jul 9, 2016
Makefile.am move `shellQuote` to implementation file Sep 16, 2016
MallctlHelper.cpp Add helper functions for mallctl Jul 24, 2016
MallctlHelper.h Add helper functions for mallctl Jul 24, 2016
Malloc.h Remove now-useless FOLLY_MALLOC_H_ Aug 26, 2016
MapUtil.h prvalues from get_ref_default()'s default functor Sep 8, 2016
Math.h integer division with controlled rounding in Math.h Sep 7, 2016
Memory.h Kill unneeded dependency on portability/Memory.h Sep 15, 2016
MemoryMapping.cpp Switch gflags to portability/GFlags.h May 5, 2016
MemoryMapping.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
Merge.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
MicroLock.cpp Additional changes to MicroLock Aug 12, 2016
MicroLock.h Additional changes to MicroLock Aug 12, 2016
MicroSpinLock.h Assert that MicroSpinLock is a POD type Jun 1, 2016
MoveWrapper.h folly copyright 2015 -> copyright 2016 Feb 12, 2016
Optional.h Modified ref-qualifiers return type for Optional::value() and Optiona… Aug 30, 2016
PackedSyncPtr.h Pack PackedSyncPtr Jun 8, 2016
Padded.h Don't use ?: Jul 22, 2016
Partial.h explicit return types in Partial to work around gcc bug Aug 16, 2016
PicoSpinLock.h Fix a typo in PicoSpinLock Aug 3, 2016
Portability.h Fix a folly build failure with GCC5 Aug 24, 2016
Preprocessor.h Update FB_ONE_OR_NONE in Preproc.h to work with MSVC Jul 22, 2016
ProducerConsumerQueue.h Fix test/ProducerConsumerQueueTest.cpp build break May 28, 2016
RWSpinLock.h update Synchronized to use LockTraits Jul 6, 2016
Random-inl.h Correctly deduce RNG type in folly::Random Apr 15, 2016
Random.cpp Handle creating the default crypto context if it doesn't already exist Aug 5, 2016
Random.h Correctly deduce RNG type in folly::Random Apr 15, 2016
Range.h Move IPAddress definitions to source files Jul 9, 2016
SafeAssert.cpp Let FOLLY_SAFE_DCHECK be erased by the optimizer in release builds Aug 15, 2016
SafeAssert.h Let FOLLY_SAFE_DCHECK be erased by the optimizer in release builds Aug 15, 2016
ScopeGuard.h Fix a typo in ScopeGuard.h Aug 24, 2016
SharedMutex.cpp folly: fix clang's -Wundefined-var-template Jun 25, 2016
SharedMutex.h Fix a couple comments Sep 22, 2016
Shell.cpp move `shellQuote` to implementation file Sep 16, 2016
Shell.h move `shellQuote` to implementation file Sep 16, 2016
Singleton-inl.h Don't allow getting singleton after shutdown in strict mode Aug 19, 2016
Singleton.cpp Use ReadMostlyMainPtrDeleter in folly::Singleton Aug 10, 2016
Singleton.h Don't allow getting singleton after shutdown in strict mode Aug 19, 2016
SingletonStackTrace.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
SingletonThreadLocal.h Fix SingletonThreadLocal Feb 29, 2016
SingletonVault_c.cpp SingletonVault_c.cpp is always C++ Jun 1, 2016
SingletonVault_c.h folly copyright 2015 -> copyright 2016 Feb 12, 2016
SmallLocks.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
SocketAddress.cpp Eliminate a string allocation in folly::SocketAddr and bug in char[] … Sep 6, 2016
SocketAddress.h Fix folly::SocketAddress::reset Aug 31, 2016
SparseByteSet.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
SpinLock.h update Synchronized to use LockTraits Jul 6, 2016
SpookyHashV1.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
SpookyHashV1.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
SpookyHashV2.cpp Make Bits.h respect FOLLY_HAVE_UNALIGNED_ACCESS. Mar 9, 2016
SpookyHashV2.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
String-inl.h Use folly::Expected to implement folly::tryTo, a non-throwing variant… Aug 16, 2016
String.cpp Extensibility for folly::to<> through ADL Apr 7, 2016
String.h Use folly::Expected to implement folly::tryTo, a non-throwing variant… Aug 16, 2016
StringBase.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
Subprocess.cpp escape `{` in cmd for deprecated `Substring(std::string...)` Sep 16, 2016
Subprocess.h formatting support for `Subprocess::shellify` Sep 15, 2016
Synchronized.h Nomenclature in Synchronized - prefer read to shared Sep 9, 2016
ThreadCachedArena.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
ThreadCachedArena.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
ThreadCachedInt.h Reverted commit D3755446 Aug 31, 2016
ThreadLocal.h Reverted commit D3755446 Aug 31, 2016
ThreadName.h folly: improve setThreadName for macOS Jul 18, 2016
TimeoutQueue.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
TimeoutQueue.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
TokenBucket.h Move the alignment attribute in TokenBucket to a place where MSVC sup… Sep 8, 2016
Traits.h Fix folly conversions for Clang with GCC5's libstdc++ Sep 1, 2016
Try-inl.h Extract Try to top-level May 19, 2016
Try.h Extract Try to top-level May 19, 2016
Unicode.cpp Use std::string in folly::dynamic Apr 26, 2016
Unicode.h Use std::string in folly::dynamic Apr 26, 2016
Unit.h Flesh out the comments about Unit May 18, 2016
Uri-inl.h folly copyright 2015 -> copyright 2016 Feb 12, 2016
Uri.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
Uri.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
VERSION Bump version to 57:0 Aug 31, 2015
Varint.h folly: ubsan: cast to unsigned to avoid negative-left-shift May 10, 2016
Version.cpp folly copyright 2015 -> copyright 2016 Feb 12, 2016
VersionCheck.h folly: replace old-style header guards with "pragma once" Apr 1, 2016
configure.ac Fix folly conversions for Clang with GCC5's libstdc++ Sep 1, 2016
dynamic-inl.h Return rvalue references from &&-qualified members of dynamic Sep 16, 2016
dynamic.cpp Use std::string in folly::dynamic Apr 26, 2016
dynamic.h Return rvalue references from &&-qualified members of dynamic Sep 16, 2016
json.cpp Optimize toJson() Performance Sep 13, 2016
json.h Add recursion limit to folly::parseJson. Apr 27, 2016
libfolly.pc.in Generate a pkg-config file for Folly Jul 19, 2016
memcpy.S folly copyright 2015 -> copyright 2016 Feb 12, 2016
small_vector.h folly: fix enumeral vs non-enumeral type in conditional expression Aug 24, 2016
sorted_vector_types.h Use cbegin and cend in static reflection container traits Aug 24, 2016
stop_watch.h stop_watch is moved to folly Jul 1, 2016