mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
shmem: overwrite signal definition of received samples
This commit is contained in:
parent
2bcfd844cd
commit
c23d1979df
1 changed files with 4 additions and 0 deletions
|
@ -142,6 +142,10 @@ int shmem_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *re
|
|||
sample_copy_many(smps, shared_smps, recv);
|
||||
sample_decref_many(shared_smps, recv);
|
||||
|
||||
/** @todo: signal descriptions are currently not shared between processes */
|
||||
for (int i = 0; i < recv; i++)
|
||||
smps[i]->signals = &n->signals;
|
||||
|
||||
return recv;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue