xtd 0.2.0
Loading...
Searching...
No Matches
task_creation_options.hpp File Reference
#include "../../enum.hpp"

Definition

Contains xtd::threading::tasks::task_creation_options enum class.

Go to the source code of this file.

Namespaces

namespace  xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 
namespace  xtd::threading
 The xtd::threading namespace provides classes and interfaces that enable multithreaded programming. In addition to classes for synchronizing thread activities and access to data ( xtd::threading::mutex, xtd::threading::monitor, xtd::threading::interlocked, xtd::threading::auto_reset_event, and so on), this namespace includes a xtd::threading::thread_pool class that allows you to use a pool of system-supplied threads, and a xtd::threading::timer class that executes callback methods on thread pool threads.
 
namespace  xtd::threading::tasks
 The xtd::threading::tasks namespace provides types that simplify the work of writing concurrent and asynchronous code. The main types are xtd::threading::tasks::task which represents an asynchronous operation that can be waited on and cancelled, and xtd::threading::tasks::task <result_t>, which is a task that can return a value. The xtd::threading::tasks::task_factory class provides static methods for creating and starting tasks, and the xtd::threading::tasks::task_scheduler class provides the default thread scheduling infrastructure.
 

Enumerations

enum class  xtd::threading::tasks::task_creation_options {
  xtd::threading::tasks::task_creation_options::none ,
  xtd::threading::tasks::task_creation_options::prefer_fairness ,
  xtd::threading::tasks::task_creation_options::long_running ,
  xtd::threading::tasks::task_creation_options::attached_to_parent ,
  xtd::threading::tasks::task_creation_options::deny_child_attach ,
  xtd::threading::tasks::task_creation_options::hide_scheduler ,
  xtd::threading::tasks::task_creation_options::run_continuations_asynchronously
}
 Specifies flags that control optional behavior for the creation and execution of tasks. This enumeration supports a bitwise combination of its member values. More...