[Tarantool-patches] [PATCH 10/12] popen: add FIXME re group signal flaw

Alexander Turenko alexander.turenko at tarantool.org
Tue Apr 14 14:38:19 MSK 2020


It is convenient to have such anchors for known problems.

Part of #4031
---
 src/lib/core/popen.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/core/popen.c b/src/lib/core/popen.c
index 411aad03b..36cd7b07d 100644
--- a/src/lib/core/popen.c
+++ b/src/lib/core/popen.c
@@ -562,6 +562,11 @@ popen_send_signal(struct popen_handle *handle, int signo)
 
 	/*
 	 * A child may be killed or exited already.
+	 *
+	 * FIXME: A process may be died at the time and
+	 * the function will not send a signal to other
+	 * processes in the group even when
+	 * POPEN_FLAG_GROUP_SIGNAL is set.
 	 */
 	ret = popen_may_pidop(handle);
 	if (ret == 0) {
-- 
2.25.0



More information about the Tarantool-patches mailing list