xtd 0.2.0
Loading...
Searching...
No Matches
thread_pool.hpp File Reference
#include "registered_wait_handle.hpp"
#include "semaphore.hpp"
#include "thread.hpp"
#include "wait_callback.hpp"
#include "wait_or_timer_callback.hpp"
#include "../core_export.hpp"
#include "../new_ptr.hpp"
#include "../static.hpp"
#include "../time_span.hpp"
#include "../types.hpp"
#include <vector>

Definition

Contains xtd::threading::thread_pool class.

Go to the source code of this file.

Classes

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...
 
struct  xtd::threading::thread_pool::thread_item< callback_t >::sdata
 

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.