mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
parent
665279938e
commit
b0b4b8e65b
6 changed files with 18 additions and 11 deletions
|
@ -178,7 +178,7 @@ fn (vd VDoc) work_processor(mut work sync.Channel, mut wg sync.WaitGroup) {
|
|||
|
||||
fn (vd VDoc) render_parallel(out Output) {
|
||||
vjobs := runtime.nr_jobs()
|
||||
mut work := sync.new_channel<ParallelDoc>(vd.docs.len)
|
||||
mut work := sync.new_channel<ParallelDoc>(u32(vd.docs.len))
|
||||
mut wg := sync.new_waitgroup()
|
||||
for i in 0 .. vd.docs.len {
|
||||
p_doc := ParallelDoc{vd.docs[i], out}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue