Re: Limitations with v2 port implementation
Janosch Machowinski <[email protected]> Thu, 09 Apr 2015 11:51:30 +0200
| Newsgroups | gmane.science.robotics.orocos.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey,
there is another issue with the current port implementation,
it might be related. The current implementation always searches
all known connections in a linear way and returns the first one
that has a sample. This is bad for runtime issues, and (even if this
is more theoretical) bad in terms of starvation. What I mean is,
if the sample take a lot of time to be processed between read
calls, so that new samples arrive in between on the first connections,
the last connections will never be read.
Perhaps adding some sort of clock hand algorithm helps here.
Greetings
Janosch
--
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev