killThread threadId killThread listOfThreadIds tries to kill the thread with thread id number threadId. In its second form the argument can be a list of threadId's.