Skip to content

Discussion starter: Possible improvements to hello-camkes-2 tutorial. #33

Description

@Ben-PH

Regarding this tutorial, I believe there is a chance to make some changes to improve the goals of having the tutorial around.

Following through the hello-camkes-2 tutorial, it asked for a lot of steps, without being explicit about how to confirm that you are progressing correctly. Being unfamiliar with a workflow that works well, it was unclear to me how and when to stop and validate work done up to a given point.

When I started over again, from the beginning of hello-camkes-2, I took a modified approach. In this approach I accomplished smaller things in smaller steps, validating each along the way. I would not move on to the next step until I was satisfied with the current

  1. Understand setting up producer/consumer events each side
  • confirmed through successful build
  1. Setup shared memory buffer
  • confirmed by printing it client-side
  1. Bring server into the equation
  • confirmed with a log message in the handler
  1. print the shared buffer
  2. modify shared buffer
  • confirmed by repeating the print
  1. signal the client
  • confirmed with a log message after the wait()
  1. print the same buffer again
  • Expect to see changes propagated from server

I did a similar work flow for the typed dataport.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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