tree: 15c7ca1679735e28c544d58c8a0aabb314bb933d [path history] [tgz]
  1. include/
  2. src/
  3. CMakeLists.txt
  4. README.md
  5. reversestring.camkes
apps/reversestring/README.md

This application demonstrates dataport release/acquire semantics. Dataports are regions of shared memory, and aren't marked volatile, so the compiler is free to re-order access to them in ways that make it impossible to use them for synchronization. The acquire/release functions insert barriers that prevent this re-ordering.