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