63 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::threading::tasks::task_creation_options> {{
xtd::threading::tasks::task_creation_options::none,
"none"}, {
xtd::threading::tasks::task_creation_options::prefer_fairness,
"prefer_fairness"}, {
xtd::threading::tasks::task_creation_options::long_running,
"long_running"}, {
xtd::threading::tasks::task_creation_options::attached_to_parent,
"attached_to_parent"}, {
xtd::threading::tasks::task_creation_options::deny_child_attach,
"deny_child_attach"}, {
xtd::threading::tasks::task_creation_options::hide_scheduler,
"hide_scheduler"}, {
xtd::threading::tasks::task_creation_options::run_continuations_asynchronously,
"run_continuations_asynchronously"}};}
Contains enum_ and enum_ut_ keywords.
task_creation_options
Specifies flags that control optional behavior for the creation and execution of tasks....
Definition task_creation_options.hpp:23
@ deny_child_attach
Specifies that any child task that attempts to execute as an attached child task (that is,...
Definition task_creation_options.hpp:33
@ run_continuations_asynchronously
Forces continuations added to the current task to be executed asynchronously.
Definition task_creation_options.hpp:37
@ none
Specifies that the default behavior should be used.
Definition task_creation_options.hpp:25
@ prefer_fairness
A hint to a xtd::threading::tasks::task_scheduler to schedule a task in as fair a manner as possible,...
Definition task_creation_options.hpp:27
@ hide_scheduler
Prevents the ambient scheduler from being seen as the current scheduler in the created task....
Definition task_creation_options.hpp:35
@ long_running
Specifies that a task will be a long-running, coarse-grained operation involving fewer,...
Definition task_creation_options.hpp:29
@ attached_to_parent
Specifies that a task is attached to a parent in the task hierarchy. By default, a child task (that i...
Definition task_creation_options.hpp:31
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:24
@ flags
Enum flags attribute.
Definition enum_attribute.hpp:26
The xtd::threading::tasks namespace provides types that simplify the work of writing concurrent and a...
Definition itask.hpp:14
The xtd::threading namespace provides classes and interfaces that enable multithreaded programming....
Definition abandoned_mutex_exception.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38
Provides the set attribute struct for enumerations.
Definition enum_set_attribute.hpp:36