mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
shmem: issue a warning if the remote side of the interface was closed
This commit is contained in:
parent
6aeef09196
commit
c99c95a558
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue