[PATCH] LLD: Implement our own future and use that for FileArchive::preload().

Rui Ueyama ruiu at google.com
Mon Mar 2 20:20:15 PST 2015


Oh, and speaking of the API, I don't actually understand why C++11 separates producer side (std::promise) and consumer side (std::future). My implementation is not compatible with that at all -- I just defined std::future and use that for both, just like future in java.util.concurrent. Seems working fine -- so I didn't go so far as to define one more class.


http://reviews.llvm.org/D8025

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list