mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
fef4a43da7
Summary: - Update FuseChannel::initializate() to not require an Executor. Rather than performing initialization using the supplied Executor, it simply starts one worker thread first and performs initialization there. - Change the API semantics slightly so that the session complete future is invoked only if initialization succeeds. Previously the session complete future could be invoked if initialization failed as well. - Replace the activeThreads counter with a stoppedThreads counter to determine when the session complete future should be invoked. The previous activeThreads behavior was somewhat racy, since the activeThreads counter was incremented inside each worker thread, but most places that checked it did not wait to ensure that all worker threads had successfully incremented it yet. Reviewed By: chadaustin Differential Revision: D7243910 fbshipit-source-id: 93b3465509bd9bf6fa90ea097e70dac3193172f9 |
||
---|---|---|
.. | ||
privhelper | ||
test | ||
BufVec.cpp | ||
BufVec.h | ||
DirHandle.h | ||
DirList.cpp | ||
DirList.h | ||
Dispatcher.cpp | ||
Dispatcher.h | ||
EdenStats.cpp | ||
EdenStats.h | ||
FileHandle.cpp | ||
FileHandle.h | ||
FileHandleBase.cpp | ||
FileHandleBase.h | ||
FileHandleMap.cpp | ||
FileHandleMap.h | ||
FuseChannel.cpp | ||
FuseChannel.h | ||
FuseTypes.cpp | ||
FuseTypes.h | ||
handlemap.thrift | ||
PollHandle.cpp | ||
PollHandle.h | ||
RequestData.cpp | ||
RequestData.h |