sapling/eden/fs
Chad Austin 0a28623f9a add a collectSafe function
Summary:
folly::collect's Future is completed immediately when any of its input
future is completed with an exception. This makes forking off subtasks
and then joining with folly::collect dangerous when closures don't
hold pointers or references to parameters, including `this`. Introduce
a collectSafe function, which has the same signature as folly::collect
but unconditionally waits until all futures are completed.

Reviewed By: simpkins

Differential Revision: D19529772

fbshipit-source-id: b3b493fcbb0d9058d2d6e5c8a064dfdae3a43e57
2020-02-03 11:30:50 -08:00
..
benchharness Tidy up license headers 2019-10-11 05:28:23 -07:00
config replace some uses of memset 2020-01-31 10:50:48 -08:00
fuse fix some macOS build warnings 2020-01-23 17:37:39 -08:00
inodes return a valid inode number when looking up an inode fails 2020-01-31 10:50:48 -08:00
journal rename tracing to telemetry 2019-10-15 13:39:41 -07:00
model Add EdenMount diff to generate the ScmStatus 2019-12-10 14:07:24 -08:00
monitor update the EdenFS monitor to support self-restarts 2020-01-31 13:22:27 -08:00
rocksdb Remove dead includes in eden 2019-10-11 16:45:01 -07:00
service add a new process to monitor EdenFS 2020-01-31 13:22:26 -08:00
sqlite fix a missing dependency in a CMakeLists.txt file 2019-11-21 21:43:54 -08:00
store allow getScmStatus to be cancelled if it calls into source control tree differ 2020-01-29 11:17:57 -08:00
takeover refactor the EDEN_BUG() macro 2019-11-22 15:38:33 -08:00
telemetry rename LogEvent fields so names in code match names in the log 2020-01-31 10:42:26 -08:00
testharness replace some uses of memset 2020-01-31 10:50:48 -08:00
utils add a collectSafe function 2020-02-03 11:30:50 -08:00
win fix windows build 2020-01-28 13:21:10 -08:00
CMakeLists.txt hg status tests for Eden Windows 2019-12-10 14:07:26 -08:00