removed flawed thread analysis pass
This commit is contained in:
parent
39e4e3f205
commit
be6474af63
17 changed files with 23 additions and 476 deletions
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
file: "tthreadanalysis2.nim"
|
||||
line: 42
|
||||
errormsg: "write to foreign heap"
|
||||
line: 37
|
||||
errormsg: "'threadFunc' is not GC-safe"
|
||||
cmd: "nimrod $target --hints:on --threads:on $options $file"
|
||||
"""
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ import os
|
|||
var
|
||||
thr: array [0..5, TThread[tuple[a, b: int]]]
|
||||
|
||||
proc doNothing() = nil
|
||||
proc doNothing() = discard
|
||||
|
||||
type
|
||||
PNode = ref TNode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue