Closed sanjosh closed 2 years ago
@djwatson has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
executors moved into Folly a few years back, so if this is still needed, it would need to be reopened against the folly repo.
Currently, FutureExecutor::addFuture() does not accept arguments like priority and expirationTime which can be passed to the embedded folly::Executor.
Added std::forward() support for variable number of arguments
Added two tests for CPUExecutor and IOExecutor to verify changes see test CPUFuturePoolWithParameters and IOFuturePoolWithParameters