klyn.threading.Thread.requestStop
method
public requestStop() as Void
Description

Requests cooperative stopping and wakes sleep or a paused checkpoint. An unstarted thread becomes terminated without starting native execution. A live worker remains alive until it actually returns from run().

Example

worker.requestStop(); worker.join()