1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Justus Winter e33111fcda 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>
2016-09-05 14:05:19 +02:00
..
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2015-12-21 11:37:21 +01:00
2016-06-28 18:21:50 +02:00
2015-10-28 10:20:17 +01:00
2015-11-17 12:50:22 +01:00
2016-07-26 14:49:02 +02:00
2016-08-03 15:27:13 +02:00
2016-09-05 14:05:19 +02:00
2016-06-28 15:53:59 +02:00
2013-11-18 14:09:47 +01:00
2015-11-17 12:50:22 +01:00
2016-08-03 16:55:33 +02:00
2015-11-17 12:50:22 +01:00
2016-08-03 16:55:33 +02:00
2016-08-03 16:55:33 +02:00
2015-11-17 12:50:22 +01:00
2016-08-11 13:03:16 +02:00
2015-03-17 09:18:23 +01:00
2016-03-02 14:27:30 +01:00
2015-11-17 12:50:22 +01:00
2016-08-13 13:49:41 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2015-11-17 12:50:22 +01:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2014-11-11 15:14:31 +01:00
2015-11-17 12:50:22 +01:00
2016-08-25 15:16:32 +02:00
2016-08-03 15:27:13 +02:00
2015-02-03 09:12:45 +01:00
2015-10-30 12:33:40 +01:00

Common functionality used by all modules of GnuPG.