summaryrefslogtreecommitdiffstats
path: root/m4/ntbtls.m4
diff options
context:
space:
mode:
authorJustus Winter <justus@g10code.com>2016-09-05 13:50:17 +0200
committerJustus Winter <justus@g10code.com>2016-09-05 14:05:19 +0200
commite33111fcdac08ed2ddfbdf59b1f790569b42f695 (patch)
treefe44a6f32435777fd1869f6bf25bb8e9c1784b4c /m4/ntbtls.m4
parentcommon: Fix typo. (diff)
downloadgnupg2-e33111fcdac08ed2ddfbdf59b1f790569b42f695.tar.xz
gnupg2-e33111fcdac08ed2ddfbdf59b1f790569b42f695.zip
common: Improve waiting for processes on POSIX.
* common/exechelp-posix.c (struct terminated_child): New definition. (terminated_children): New variable. (store_result): New function. (get_result): Likewise. (gnupg_wait_process): Store results that were not requested and consider previously stored results. waitpid(2) may return information about terminated children that we did not yet request, and there is no portable way to wait for a specific set of children. As a workaround, we store the results of children for later use. Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'm4/ntbtls.m4')
0 files changed, 0 insertions, 0 deletions