From c99c95a558672f644971c656ed538fab6d8054ba Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 7 May 2018 18:03:31 +0200 Subject: [PATCH] shmem: issue a warning if the remote side of the interface was closed --- lib/nodes/shmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nodes/shmem.c b/lib/nodes/shmem.c index 91efd12ef..3c7f3481f 100644 --- a/lib/nodes/shmem.c +++ b/lib/nodes/shmem.c @@ -122,6 +122,7 @@ int shmem_read(struct node *n, struct sample *smps[], unsigned cnt) /* This can only really mean that the other process has exited, so close * the interface to make sure the shared memory object is unlinked */ shmem_int_close(&shm->intf); + warn("Shared memory segment has been closed for node: %s", node_name(n)); return recv; }