A synchronization primitive that can also be used for interprocess synchronization.
Public Methods | |
bool | unregister () |
Cancels a registered wait operation issued by the xtd::threading::thread_pool::register_wait_for_single_object method. | |
bool | unregister (wait_handle &wait_obbject) |
Cancels a registered wait operation issued by the xtd::threading::thread_pool::register_wait_for_single_object method. | |
Additional Inherited Members | |
![]() | |
object ()=default | |
Create a new instance of the ultimate base class object. | |
virtual bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. | |
virtual xtd::size | get_hash_code () const noexcept |
Serves as a hash function for a particular type. | |
virtual type_object | get_type () const noexcept |
Gets the type of the current instance. | |
template<class object_t > | |
xtd::uptr< object_t > | memberwise_clone () const |
Creates a shallow copy of the current object. | |
virtual xtd::string | to_string () const noexcept |
Returns a xtd::string that represents the current object. | |
![]() | |
template<class object_a_t , class object_b_t > | |
static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
Determines whether the specified object instances are considered equal. | |
template<class object_a_t , class object_b_t > | |
static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
Determines whether the specified object instances are the same instance. | |
bool xtd::threading::registered_wait_handle::unregister | ( | ) |
Cancels a registered wait operation issued by the xtd::threading::thread_pool::register_wait_for_single_object method.
true
if the function succeeds; otherwise, false
bool xtd::threading::registered_wait_handle::unregister | ( | wait_handle & | wait_obbject | ) |
Cancels a registered wait operation issued by the xtd::threading::thread_pool::register_wait_for_single_object method.
wait_object | The xtd::threading::wait_handle to be signaled. |
true
if the function succeeds; otherwise, false