Skip to content

Unable to pass channels across more than one task #507

Closed
@robarnold

Description

@robarnold

Test case is approximately as follows:

  1. create a channel and pass it to a new task
  2. have the new task pass the channel to another new task
  3. from that newest task, send on the channel
    4.receive on the original task

Expected: successful exit of program
Actual:

  • warning: '_unread == 0', at: ../src/rt/circular_buffer.cpp:28 freeing circular_buffer with 4 unread bytes
  • program does not terminate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions