Skip to content

shaikmeera/SharedMemoryExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharedMemoryExample

Server.cpp

  • Create shared memory Output and Feedback
  • write 1 - 100 incrementally in memory Output in a while loop (overwrites previous value on every write)
  • Reads Feedback memory continously in while loop
  • Breaks while loop when finds some data available in Feedback memory and print timestamp

Client.cpp

  • Read shared memory Output in while loop
  • When finds value 98 in memory Output breaks while loop write value 1 in memory Feedback and print timestamp

Compiler

  • g++

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published