Closed gh-btsui closed 2 years ago
https://github.com/DaehwanKimLab/hisat-genotype/blob/76148238ca732c6df14b908954be827a09291aa1/hisatgenotype_modules/hisatgenotype_typing_core.py#L2167 In the following experiment with python processing, exit(1) will cause an indefinite stalling: import multiprocessing def s(i): exit(1) with multiprocessing.Pool(1) as p: p.map(s,[0])
import multiprocessing def s(i): exit(1) with multiprocessing.Pool(1) as p: p.map(s,[0])
Hi btsui,
Thanks for the information! I'll make corrections to the code to avoid this error.
Thanks, Chris
Awesome thanks a lot! @chbe-helix
https://github.com/DaehwanKimLab/hisat-genotype/blob/76148238ca732c6df14b908954be827a09291aa1/hisatgenotype_modules/hisatgenotype_typing_core.py#L2167 In the following experiment with python processing, exit(1) will cause an indefinite stalling:
import multiprocessing def s(i): exit(1) with multiprocessing.Pool(1) as p: p.map(s,[0])