Procs
proc start(self: Thread; instance: Object; methodd: string; userdata: Variant = newVariant(); priority: int64 = 1'i64): Error {.
gcsafe, locks: 0, raises: [], tags: [].}proc getId(self: Thread): string {.
gcsafe, locks: 0, raises: [], tags: [].}proc isActive(self: Thread): bool {.
gcsafe, locks: 0, raises: [], tags: [].}proc waitToFinish(self: Thread): Variant {.
gcsafe, locks: 0, raises: [], tags: [].}