Fix a few deprecation warnings
This commit is contained in:
parent
4246f660ea
commit
c50b5b62ef
32 changed files with 53 additions and 65 deletions
|
|
@ -6,7 +6,7 @@ proc threadMain(a: int) {.thread.} =
|
|||
discard
|
||||
|
||||
proc main() =
|
||||
var thread: TThread[int]
|
||||
var thread: Thread[int]
|
||||
|
||||
thread.createThread(threadMain, 0)
|
||||
thread.joinThreads()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue