1
0
Fork 0
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:
Steffen Vogel 2019-01-23 00:48:38 +01:00
parent 2bcfd844cd
commit c23d1979df

View file

@ -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;
}