Struct FiberPointer
Pointer to data on another Fiber's stack
This is a pointer to data that reside on another fiber's stack. It is assumed that the other fiber knows not
to exit the function while the pointer is in effect.
This construct protects against the case that the other fiber is killed while the pointer is still live.
Constructors
Name | Description |
this
|
Construct a FiberPointer.
|
Properties
Name | Type | Description |
get [get]
|
T* | Returns the pointer.
|
isValid [get]
|
bool | Reports whether the pointer is currently valid
|
ownerFiber [get]
|
auto | Return a handle to the owning fiber, if valid
|
Methods
Name | Description |
reset
|
Reset the pointer
|
Parameters
Name | Description |
T | The pointer type to use |