Skip to content
This repository was archived by the owner on Apr 13, 2021. It is now read-only.
This repository was archived by the owner on Apr 13, 2021. It is now read-only.

Locking ephemeris structs might hold up decoder #597

@ljbade

Description

@ljbade

As discussed with @fnoble and @jacobmcnamee currently we lock on the ephemeris thread the struct each time we calculate the position.

In the lock the struct is copied from the decoder thread, as well as using the copy to calculate the sat position.

Instead we should only copy in the lock, and use the local copy in the calculation outside of the lock.

Even better would be to use the old ephemeris until a new one is ready to not block the decoder at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions