Skip to main content

Using the with statement

You can create a thread and execute code within it using the with statement:
You can also continue a thread by passing the thread id to the thread method:

Thread API

Thread API

Manipulate threads directly using the API.