Skip to content

Make wait set growable #278

@nnmm

Description

@nnmm

Currently, on each iteration of rclrs::spin(), the wait set is regenerated from scratch.

It would be more efficient to be able to push new waitable entities, if any, into the existing wait set – and re-allocating storage if the capacity is not sufficient. This could work a bit like a Vec – doubling capacity each time the capacity is exceeded.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions