mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
5305edefc1
Summary: Up until now all of the privhelper APIs have been blocking calls. This changes the privhelper functions to return Futures, and updates all users of these APIs to be able to handle the results using Futures. One benefit of this change is that all existing mount points are remounted in parallel now during startup, rather than being mounted serially. The old code performed a blocking `get()` call on the future returned by `EdenServer::mount()`. The privhelper calls themselves are still blocking for now--they block until complete and always return completed Future objects. I will update the privhelper code in a subsequent diff to actually make it asynchronous. Reviewed By: bolinfest Differential Revision: D8053421 fbshipit-source-id: 342d38697f67518f6ca96a37c12dd9812ddb151d |
||
---|---|---|
.. | ||
test | ||
CMakeLists.txt | ||
PrivHelper.cpp | ||
PrivHelper.h | ||
PrivHelperConn.cpp | ||
PrivHelperConn.h | ||
PrivHelperServer.cpp | ||
PrivHelperServer.h | ||
UserInfo.cpp | ||
UserInfo.h |