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:
parent
9028b0ed76
commit
584c035120
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user