This method resumes a suspended thread. This method is not used in generated code—it is used only for advanced scheduling.
The suspend and resume methods provide a way of stopping and restarting a thread. Threads usually block when waiting for a resource, such as a mutex or an event flag, so both are rarely used.