This class represents a special kind of file descriptor.
The only I/O operation you can perform on a pollable event is to select it with the OP_READ flag.
You cannot read from or write to a pollable event.
Defined in: PollableEvent.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Creates a pollable event.
|
| Method Attributes | Method Name and Description |
|---|---|
|
close()
Closes this pollable event.
|
|
|
set()
Sets this pollable event.
|
|
|
wait()
Blocks the calling thread until the pollable event is set.
|