Skip to content

Request for a few documentation notes #6

Description

@joel99
  1. What tells modules to quit? For example, there is no break statement in Request.py example even though there is a subscription to MT_EXIT. Moreover, what happens if there's no subscription to the exit signal - is the module just rogue?
    print("Received message", msg.GetHeader().msg_type)
  2. How does the looping logic in individual modules work? For example, in Request; every loop there's a message read in. What if no one sent a message - does MM send a heartbeat? What if multiple modules sent messages faster than the loop clock? Does MM send a batch? (I expect the most intuitive things for example would be sugar like async/await but since there's a loop with each module keeping its own clock things are now confusing.
  3. Does the system get overloaded if everyone loops with no sleep? Are practical modules supposed to sleep, what, 10ms?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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