Одним из преимуществ использования std::async
вместо ручного создания объектов std::thread
должно быть то, что std::async
может использовать пулы потоков под обложками, чтобы избежать проблем с дополнительной подпиской. Но какие реализации делают это? Я понимаю, что реализация Microsoft делает, но как насчет этих других реализаций async
?
- Gnu libstdС++
- Gnu libС++
- Библиотека только программного обеспечения
- Boost (для
boost::thread::async
, notstd::async
)
Спасибо за любую информацию, которую вы можете предложить.