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

Definition

Contains xtd::threading::tasks::task_status 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_status {
  xtd::threading::tasks::task_status::created ,
  xtd::threading::tasks::task_status::waiting_for_activation ,
  xtd::threading::tasks::task_status::waiting_to_run ,
  xtd::threading::tasks::task_status::running ,
  xtd::threading::tasks::task_status::waiting_for_children_to_complete ,
  xtd::threading::tasks::task_status::ran_to_completion ,
  xtd::threading::tasks::task_status::canceled ,
  xtd::threading::tasks::task_status::faulted
}
 Represents the current stage in the lifecycle of a xtd::threading::tasks::task. More...