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

sync: fix typo in pool.v (#14928)

This commit is contained in:
Ikko Ashimine 2022-07-03 21:24:57 +09:00 committed by GitHub
parent 9028b0ed76
commit 584c035120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ pub fn (mut pool PoolProcessor) set_max_jobs(njobs int) {
// work_on_items receives a list of items of type T, // work_on_items receives a list of items of type T,
// then starts a work pool of pool.njobs threads, each running // then starts a work pool of pool.njobs threads, each running
// pool.thread_cb in a loop, untill all items in the list, // pool.thread_cb in a loop, until all items in the list,
// are processed. // are processed.
// When pool.njobs is 0, the number of jobs is determined // When pool.njobs is 0, the number of jobs is determined
// by the number of available cores on the system. // by the number of available cores on the system.