Module thread

Consts

PRIORITY_LOW* = 0'i64
PRIORITY_NORMAL* = 1'i64
PRIORITY_HIGH* = 2'i64

Procs

proc start*(self: Thread; instance: Object; methodd: string;
           userdata: Variant = newVariant(); priority: int64 = 1'i64): int64 {.
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
.}