public function createThread($alias, $name, $flags = Runtime::CREATE_DEFAULT, $params = []) { return $this->threadManager->createThread($alias, $name, $flags, $params); }