view tests/test-parseindex2.py.out @ 30423:237b2883cbd8

worker: make sure killworkers() never be interrupted by another SIGCHLD killworkers() iterates over pids, which can be updated by SIGCHLD handler. So we should either copy pids or prevent killworkers() from being interrupted by SIGCHLD. I chose the latter as it is simpler and can make pids handling more consistent. This fixes a possible "set changed size during iteration" error at killworkers() before cleanup().
author Yuya Nishihara <yuya@tcha.org>
date Thu, 17 Nov 2016 20:44:05 +0900
parents 75fdc39b6172
children
line wrap: on
line source

done