Lines Matching refs:_TaskOptions

2129     task_options(const task_options& _TaskOptions)
2130 : _M_Scheduler(_TaskOptions.get_scheduler()),
2131 _M_CancellationToken(_TaskOptions.get_cancellation_token()),
2132 _M_ContinuationContext(_TaskOptions.get_continuation_context()),
2133 _M_HasCancellationToken(_TaskOptions.has_cancellation_token()),
2134 _M_HasScheduler(_TaskOptions.has_scheduler())
4250 task_options _TaskOptions;
4255 … _CreateImpl(_TaskOptions.get_cancellation_token()._GetImplValue(), _TaskOptions.get_scheduler());
4306 explicit task(_Ty _Param, const task_options &_TaskOptions)
4314 … _CreateImpl(_TaskOptions.get_cancellation_token()._GetImplValue(), _TaskOptions.get_scheduler());
4320 …::_get_internal_task_options(_TaskOptions)._M_hasPresetCreationCallstack ? details::_get_internal_…
4446 task_options _TaskOptions;
4447 … details::_get_internal_task_options(_TaskOptions)._set_creation_callstack(_CAPTURE_CALLSTACK());
4448 return _ThenImpl<_ReturnType, _Function>(_Func, _TaskOptions);
4484 …auto then(const _Function& _Func, task_options _TaskOptions) const -> typename details::_Continuat…
4490 … details::_get_internal_task_options(_TaskOptions)._set_creation_callstack(_CAPTURE_CALLSTACK());
4491 return _ThenImpl<_ReturnType, _Function>(_Func, _TaskOptions);
4567 task_options _TaskOptions(_CancellationToken, _ContinuationContext);
4568 … details::_get_internal_task_options(_TaskOptions)._set_creation_callstack(_CAPTURE_CALLSTACK());
4569 return _ThenImpl<_ReturnType, _Function>(_Func, _TaskOptions);
5396 …auto _ThenImpl(const _Function& _Func, const task_options& _TaskOptions) const -> typename details…
5403 …:details::_CancellationTokenState *_PTokenState = _TaskOptions.has_cancellation_token() ? _TaskOpt…
5404 …auto _Scheduler = _TaskOptions.has_scheduler() ? _TaskOptions.get_scheduler() : _GetImpl()->_GetSc…
5405 …::_get_internal_task_options(_TaskOptions)._M_hasPresetCreationCallstack ? details::_get_internal_…
5406 …return _ThenImpl<_InternalReturnType, _Function>(_Func, _PTokenState, _TaskOptions.get_continuatio…
5606 explicit task(_Ty _Param, const task_options& _TaskOptions = task_options())
5613 …_M_unitTask._CreateImpl(_TaskOptions.get_cancellation_token()._GetImplValue(), _TaskOptions.get_sc…
5619 …::_get_internal_task_options(_TaskOptions)._M_hasPresetCreationCallstack ? details::_get_internal_…
5777 …auto then(const _Function& _Func, task_options _TaskOptions = task_options()) const -> typename de…
5779 … details::_get_internal_task_options(_TaskOptions)._set_creation_callstack(_CAPTURE_CALLSTACK());
5780 return _M_unitTask._ThenImpl<void, _Function>(_Func, _TaskOptions);
5858 task_options _TaskOptions(_CancellationToken, _ContinuationContext);
5859 … details::_get_internal_task_options(_TaskOptions)._set_creation_callstack(_CAPTURE_CALLSTACK());
5860 return _M_unitTask._ThenImpl<void, _Function>(_Func, _TaskOptions);
6179 auto create_task(_Ty _Param, task_options _TaskOptions = task_options()) -> task<typename details::…
6188 details::_get_internal_task_options(_TaskOptions)._set_creation_callstack(_CAPTURE_CALLSTACK());
6189 …<typename details::_TaskTypeFromParam<_ReturnType, _Ty>::_Type> _CreatedTask(_Param, _TaskOptions);
8151 …static task<std::vector<_ElementType>> _Perform(const task_options& _TaskOptions, _Iterator _Begin…
8157 …:details::_CancellationTokenState *_PTokenState = _TaskOptions.has_cancellation_token() ? _TaskOpt…
8164 task_options _Options(_TaskOptions);
8259 …static task<std::vector<_ElementType>> _Perform(const task_options& _TaskOptions, _Iterator _Begin…
8265 …:details::_CancellationTokenState *_PTokenState = _TaskOptions.has_cancellation_token() ? _TaskOpt…
8272 task_options _Options(_TaskOptions);
8372 … static task<void> _Perform(const task_options& _TaskOptions, _Iterator _Begin, _Iterator _End)
8378 …:details::_CancellationTokenState *_PTokenState = _TaskOptions.has_cancellation_token() ? _TaskOpt…
8385 task_options _Options(_TaskOptions);
8615 auto when_all(_Iterator _Begin, _Iterator _End, const task_options& _TaskOptions = task_options())
8616 …rator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(_TaskOptions, _Begin, _End))
8619 return details::_WhenAllImpl<_ElementType, _Iterator>::_Perform(_TaskOptions, _Begin, _End);
8878 …static task<std::pair<_ElementType, size_t>> _Perform(const task_options& _TaskOptions, _Iterator …
8888 …:details::_CancellationTokenState *_PTokenState = _TaskOptions.has_cancellation_token() ? _TaskOpt…
8898 task_options _Options(_TaskOptions);
8960 … static task<size_t> _Perform(const task_options& _TaskOptions, _Iterator _Begin, _Iterator _End)
8970 …:details::_CancellationTokenState *_PTokenState = _TaskOptions.has_cancellation_token() ? _TaskOpt…
8981 task_options _Options(_TaskOptions);
9062 auto when_any(_Iterator _Begin, _Iterator _End, const task_options& _TaskOptions = task_options())
9063 …rator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(_TaskOptions, _Begin, _End))
9066 return details::_WhenAnyImpl<_ElementType, _Iterator>::_Perform(_TaskOptions, _Begin, _End);
9401 task<_Ty> task_from_result(_Ty _Param, const task_options& _TaskOptions = task_options())
9405 return create_task<_Ty>(_Tce, _TaskOptions);
9417 inline task<void> task_from_result(const task_options& _TaskOptions = task_options())
9421 return create_task<void>(_Tce, _TaskOptions);
9425 task<_TaskType> task_from_exception(_ExType _Exception, const task_options& _TaskOptions = task_opt…
9429 return create_task<_TaskType>(_Tce, _TaskOptions);