The exitto Statement
The exitto statement exits the current thread and schedules the specified thread to begin executing. The syntax of the exitto statement is shown below.
exitto worker // exit now and schedule worker thread