Function cancel

  • Cancels the given thread.

    Parameters

    • thread: thread

    Returns void