| 43 | /// \see event, wait_list |
| 44 | template<class... Events> |
| 45 | inline void wait_for_all(Events&&... events) |
| 46 | { |
| 47 | wait_list l; |
| 48 | detail::insert_events_variadic(l, std::forward<Events>(events)...); |
| 49 | l.wait(); |
| 50 | } |
| 51 | #endif // BOOST_COMPUTE_NO_VARIADIC_TEMPLATES |
| 52 | |
| 53 | } // end compute namespace |