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

◆ event_wait_handle() [2/8]

xtd::threading::event_wait_handle::event_wait_handle ( const string name)
explicit

Initializes a new instance of the xtd::threading::event_wait_handle class, specifying the name.

Parameters
nameThe name, if the synchronization object is to be shared with other processes; otherwise, null or an empty string. The name is case-sensitive. The backslash character () is reserved and may only be used to specify a namespace. For more information on namespaces, see the remarks section. There may be further restrictions on the name depending on the operating system. For example, on Unix-based operating systems, the name after excluding the namespace must be a valid file name.
Remarks
The initial state is false and the mode is set to xtd::threading::event_reset_mode::auto_reset.