-
Notifications
You must be signed in to change notification settings - Fork 1
system.event
load system.event
This module provides the System.Event class which provides a basic event implementation.
This class provides a basic event implementation that can only be set or reset.
This type is not copyable
| Modifiers | Member | Description |
|---|---|---|
const |
clear | Resets the event. |
const |
getHandle | Returns the handle used by System.Event.System.Event. |
const |
getPollEvent | Returns the event's poll event as an instance of mint::poll_event_t. |
const |
isSet | Returns true if the event is set; otherwise returns false. |
const |
new | Creates a new event. The created event is not set. If no event can be created, ``... |
const |
reset | Reset the internal event state |
const |
set | Sets the event. |
const |
wait | Waits until the event is set. If timeout is given, the wait stop after timeout... |
| Modifiers | Member | Description |
|---|---|---|
const |
clone | Disable object copy. |
final |
d_ptr | Object data. |
@ const
|
g_lib | Global library handle. |
def (self)
Resets the event.
none
Disable object copy.
null
Object data.
lib ('libmint-system')
Global library handle.
def (const self)
Returns the handle used by System.Event.
def (const self)
Returns the event's poll event as an instance of mint::poll_event_t.
def (const self)
Returns true if the event is set; otherwise returns false.
def (self)
Creates a new event. The created event is not set.
If no event can be created, none is returned.
def (self)
Reset the internal event state
def (self)
Sets the event.
def (self, timeout = none)
Waits until the event is set. If timeout is given, the wait stop after
timeout milliseconds if the event is still not set.
Returns true if the event is set; otherwise returns false if the
wait timed out.
After a call to this method, the event is reset.
- Introduction
- Variables
-
Built-in-types
- Built-in-types#none
- Built-in-types#null
- Built-in-types#boolean
- Built-in-types#number
- Built-in-types#string
- Built-in-types#regex
- Built-in-types#array
- Built-in-types#hash
- Built-in-types#iterator
- Built-in-types#async_iterator
- Built-in-types#package
- Built-in-types#function
- Built-in-types#coroutine
- Built-in-types#library
- Built-in-types#libobject
- Arithmetic-operations
- Type-casting
- Control-structures
- Function-definition
- User-defined-types
- Work-with-modules