further memtracking improvements

This commit is contained in:
Andreas Rumpf 2016-11-24 08:27:09 +01:00
commit 249fd5e56b
5 changed files with 29 additions and 8 deletions

View file

@ -32,7 +32,7 @@ template sbind(x: int; value) =
quit "could not bind value"
when defined(memTracker):
proc logEntries(log: TrackLog) {.nimcall.} =
proc logEntries(log: TrackLog) {.nimcall, locks: 0, tags: [].} =
for i in 0..log.count-1:
var success = false
let e = log.data[i]