1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sync.pool: simplify usages of pool.work_on_items

This commit is contained in:
Alexander Medvednikov
2020-03-05 18:37:57 +01:00
committed by GitHub
parent 9c1e50b1aa
commit a8e45251c4
4 changed files with 14 additions and 9 deletions

View File

@ -49,7 +49,7 @@ fn test_all_v_repl_files() {
// See: https://docs.microsoft.com/en-us/cpp/build/reference/fs-force-synchronous-pdb-writes?view=vs-2019
pool_repl.set_max_jobs(1)
}
pool_repl.work_on_items<string>(session.options.files)
pool_repl.work_on_items(session.options.files)
session.bmark.stop()
println(session.bmark.total_message('total time spent running REPL files'))
}