DaehwanKimLab / hisat-genotype

GNU General Public License v3.0
23 stars 15 forks source link

indefinite stalling caused by exit(1) within process #56

Closed gh-btsui closed 2 years ago

gh-btsui commented 3 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])

chbe-helix commented 3 years ago

Hi btsui,

Thanks for the information! I'll make corrections to the code to avoid this error.

Thanks, Chris

gh-btsui commented 3 years ago

Awesome thanks a lot! @chbe-helix