Hi, I am using a multiprocess script to call cavif command (I am not using option --threads). I found that when I increase the process number, some errors appear like:
thread 'main' panicked at 'The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }'
thread 'main' panicked at 'The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }) }'
...
Such error won't appear if I use single-process program or 2~3 multi-processes program.
I have tried both pre-built version and self cargo installed version. Is there a way to prevent this?
Hi, I am using a multiprocess script to call
cavif
command (I am not using option--threads
). I found that when I increase the process number, some errors appear like:Such error won't appear if I use single-process program or 2~3 multi-processes program. I have tried both pre-built version and self cargo installed version. Is there a way to prevent this?