xtd 0.2.0
Loading...
Searching...
No Matches

Definition

Contains threading definitions.

Classes

class  xtd::threading::auto_reset_event
 Represents a thread synchronization event that, when signaled, resets automatically after releasing a single waiting thread. This class cannot be inherited. More...
 
class  xtd::threading::barrier
 Enables multiple tasks to cooperatively work on an algorithm in parallel through multiple phases. More...
 
class  xtd::threading::cancellation_token
 Propagates notification that operations should be canceled. More...
 
class  xtd::threading::cancellation_token_registration
 Propagates notification that operations should be canceled. More...
 
class  xtd::threading::cancellation_token_source
 Signals to a xtd::threading::cancellation_token that it should be canceled. More...
 
class  xtd::threading::countdown_event
 Represents a synchronization primitive that is signaled when its count reaches zero. More...
 
class  xtd::threading::event_wait_handle
 Represents a thread synchronization event. More...
 
class  xtd::threading::interlocked
 Provides atomic operations for variables that are shared by multiple threads. More...
 
class  xtd::threading::jthread
 Creates and controls an automatically rejoins on destruction thread, sets its priority, and gets its status. More...
 
class  xtd::threading::lock_guard
 Provides a mechanism that synchronizes access to objects with xtd::threading::monitor. More...
 
class  xtd::threading::manual_reset_event
 Represents a thread synchronization event that, when signaled, must be reset manually. This class cannot be inherited. More...
 
class  xtd::threading::monitor
 Provides a mechanism that synchronizes access to objects. More...
 
class  xtd::threading::mutex
 A synchronization primitive that can also be used for interprocess synchronization. More...
 
class  xtd::threading::registered_wait_handle
 A synchronization primitive that can also be used for interprocess synchronization. More...
 
class  xtd::threading::semaphore
 Limits the number of threads that can access a resource or pool of resources concurrently. More...
 
class  xtd::threading::spin_lock
 Provides a mutual exclusion lock primitive where a thread trying to acquire the lock waits in a loop repeatedly checking until the lock becomes available. More...
 
class  xtd::threading::thread
 Creates and controls a thread, sets its priority, and gets its status. More...
 
class  xtd::threading::thread_local_object< value_t >
 Provides thread-local storage of data. More...
 
class  xtd::threading::thread_pool
 Provides a pool of threads that can be used to execute tasks, post work items, process asynchronous I/O, wait on behalf of other threads, and process timers. More...
 
class  xtd::threading::timeout
 Contains a constant used to specify an infinite amount of time. This class cannot be inherited. More...
 
class  xtd::threading::timer
 Provides a mechanism for executing a method on a thread pool thread at specified intervals. This class cannot be inherited. More...
 
class  xtd::threading::wait_handle
 Encapsulates operating system specific objects that wait for exclusive access to shared resources. More...
 

Typedefs

using xtd::lock = xtd::threading::lock_guard
 Provides a mechanism that synchronizes access to objects with xtd::threading::monitor.
 

Enumerations

enum class  xtd::threading::event_reset_mode {
  xtd::threading::event_reset_mode::auto_reset ,
  xtd::threading::event_reset_mode::manual_reset
}
 Indicates whether an xtd::threading::event_wait_handle is reset automatically or manually after receiving a signal. More...
 
enum class  xtd::threading::thread_priority {
  xtd::threading::thread_priority::lowest ,
  xtd::threading::thread_priority::below_normal ,
  xtd::threading::thread_priority::normal ,
  xtd::threading::thread_priority::above_normal ,
  xtd::threading::thread_priority::highest
}
 Specifies the scheduling priority of a system::threading::thread. More...
 
enum class  xtd::threading::thread_state {
  xtd::threading::thread_state::running ,
  xtd::threading::thread_state::stop_requested ,
  xtd::threading::thread_state::suspend_requested ,
  xtd::threading::thread_state::background ,
  xtd::threading::thread_state::unstarted ,
  xtd::threading::thread_state::stopped ,
  xtd::threading::thread_state::wait_sleep_join ,
  xtd::threading::thread_state::suspended ,
  xtd::threading::thread_state::abort_requested ,
  xtd::threading::thread_state::aborted
}
 Specifies the execution states of a System::Threading::Thread. More...