[ros-dev] [ros-diffs] [dgorbachev] 43333: Fix GCC 4.1.3 warning.

Jose Catena jc1 at diwaves.com
Thu Oct 8 22:42:27 CEST 2009


> Logging operations take a short amount of time and are spurious, in  
> this case, a worker thread would work better, it seems.

If a task is to be repeated, I think it is better a system task: while it is
waiting for an event it does not consume any cpu, and wake-up upon event and
back to wait implies less overhead than creating and destroying a worker
thread every time. If the task is very spurious and not time critical, it
does not matter much anyway. I hope this makes sense.

Jose Catena
DIGIWAVES S.L.





More information about the Ros-dev mailing list