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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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'))
}