Constructor
Constructor
Constructor
Clears the current client; usually called from the client finalizer.
Checks if client is identical to the current client. Note that the client instance is compared, not the client conduit, file descriptor or events.
Registers client in epoll and sets client to the current client.
Allows to change underlying core.thread.Fiber instance. Unregisters the ISelectClient if necessary.
Unegisters the current client from epoll and clears it, if any.
Epoll instance to use
Token struct passed to suspend() and resume() methods in order to ensure that the fiber is resumed for the same reason as it was suspended. The token is constructed from a string, via the static opCall() method.
Alias for fiber state
KilledException; thrown by suspend() when resumed by kill()
ResumedException; thrown by suspend() when resumed with the wrong identifier
Fiber instance. (Protected but can be accessed via the public rawFiber() and reset() methods. The fiber is not simply made public, as derived classes may need to add special behaviour upon getting/setting it.)
Destructor
Adds this fiber to the linked list of Fibers
Starts the fiber coroutine and waits until it is suspended or finishes.
Suspends the fiber coroutine and waits until it is resumed or killed. If the active member of msg is msg.exc, exc will be thrown by the resuming start()/resume() call.
Suspends the fiber coroutine, makes the resuming start()/resume() call throw e and waits until the fiber is resumed or killed.
Resumes the fiber coroutine and waits until it is suspended or terminates.
Kills the fiber coroutine. That is, resumes it and makes resume() throw a KilledException.
Resets the fiber
Resets the fiber and change the coroutine
Resets the fiber and change the coroutine
Direct read-only access to fiber that is used internally by MessageFiber. Most useful for debugging or for sanity checks in contracts.
Allows to change underlying core.thread.Fiber instance