Skip to content

Port discussion #3

@Cyril-debug

Description

@Cyril-debug

Hello Rob,

It seems that echidna is using ev library for:

  • Software timer
  • Signal capability
  • One (or multiple) threads

Is it possible to change the mechanism by using:

  1. A thread waiting for events (a periodic timer and signals)
    • Windows: WaitForMultipleObjects()
    • FreeRTOS: xQueueReceive()
    • Linux: Don't know yet
  2. A dedicated timer (running at 10ms or faster) thats unblocks 1)
    • Windows: Usage of periodic timer (timeSetEvent() or new API)
    • FreeRTOS: Usage of kernel timers (xTimerCreate() + xQueueSend())
    • Linux: Don't know yet
  3. Management of signals will send dedicated type of message
    • Windows: Usage of a semaphore
    • FreeRTOS: Usage of message queue (xQueueSend())
    • Linux: Don't know yet

It will simplify port to other platforms.

What do you think ?

Best regards,
Cyril

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions