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

Possible race condition waiting for 'transmitting' flag to become False #20

Description

@BNNorman

Transmitting should be set False at end of 'on_tx_done()'

If code is waiting for the 'transmitting' flag to become False it could start execution before the on_tx_done() method has finished setting the dio mapping etc.

Basic idea...where D is a dragino instance


while D.transmitting:
    pass

# do something here
# this could be called whilst on_tx_done() is completing it's handling of the interrupt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions