[PATCH] LLD: Implement our own future and use that for FileArchive::preload().
ruiu at google.com
Mon Mar 2 19:45:34 PST 2015
std::promise and std::future in old version of libstdc++ are buggy.
I think that's the reason why LLD tests was flaky on Ubuntu 13
buildbots until we disable file preloading.
In this patch, I implemented very simple future and used that in
FileArchive. Compared to std::promise and std::futureu, it lacks
many features, but should suffice for our purpose.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4770 bytes
Desc: not available
More information about the llvm-commits