xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
threading
registered_wait_handle.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
wait_handle.hpp
"
6
#include "
../object.hpp
"
7
9
namespace
xtd
{
11
namespace
threading
{
13
class
thread_pool
;
15
29
class
core_export_
registered_wait_handle
final :
public
object
{
30
friend
class
thread_pool;
31
public
:
33
39
auto
unregister
() -> bool;
45
auto
unregister
(
wait_handle
& wait_obbject) -> bool;
47
48
private
:
49
intptr
item_ = 0;
50
};
51
}
52
}
xtd::object::object
object()=default
Create a new instance of the ultimate base class object.
xtd::threading::registered_wait_handle
A synchronization primitive that can also be used for interprocess synchronization.
Definition
registered_wait_handle.hpp:29
xtd::threading::registered_wait_handle::unregister
auto unregister(wait_handle &wait_obbject) -> bool
Cancels a registered wait operation issued by the xtd::threading::thread_pool::register_wait_for_sing...
xtd::threading::registered_wait_handle::unregister
auto unregister() -> bool
Cancels a registered wait operation issued by the xtd::threading::thread_pool::register_wait_for_sing...
xtd::threading::thread_pool
Provides a pool of threads that can be used to execute tasks, post work items, process asynchronous I...
Definition
thread_pool.hpp:52
xtd::threading::wait_handle
Encapsulates operating system specific objects that wait for exclusive access to shared resources.
Definition
wait_handle.hpp:52
core_export_
#define core_export_
Define shared library export.
Definition
core_export.hpp:13
xtd::intptr
std::intmax_t intptr
Represent a pointer or a handle.
Definition
intptr.hpp:23
xtd::threading
The xtd::threading namespace provides classes and interfaces that enable multithreaded programming....
Definition
abandoned_mutex_exception.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
object.hpp
Contains xtd::object class.
wait_handle.hpp
Contains xtd::threading::wait_handle class.
Generated on
for xtd by
Gammasoft
. All rights reserved.