moved random procs from math to its own module (breaking change)

This commit is contained in:
Andreas Rumpf 2016-05-30 15:07:19 +02:00
commit 95bb19a579
12 changed files with 43 additions and 122 deletions

View file

@ -79,6 +79,8 @@ proc advice*(s: var ThreadPoolState): ThreadPoolAdvice =
inc s.calls
when not defined(testing) and isMainModule:
import random
proc busyLoop() =
while true:
discard random(80)