Consider a situation where data from two sensors A and B, is to be passed to a processing program. The data becomes available randomly. For simplicity assume that the data from the two sensors consists of lower case characters: a, b, c, d, e, and f. Write two C programs for reading the sensors and pass on the data to the third program for processing using shared memory IPC. Since your programs will not be dealing with real sensors in a real environment, you will need to simulate the random generation of data. Assume that the processing consists of simply printing the data received. Consider how you will deal with the situation of writing data into the shared memory when it is full or the processing program trying to read data from empty shared memory.
what kind of value (sensor_value) you are planing to give so that i can understand real scenario send me the some more details related to this project and yeah we can manipulate the shared memory and dynamic memory allocation so thats program will not crash in future scenario i am waiting for you replay for some more details.
$13 USD in 2 days
0.0 (0 reviews)
0.0
0.0
2 freelancers are bidding on average $45 USD for this job
AoA. I'm software engineer. I'm expert developer in c/c++. I have worked with OS projects and can do this project for you. Please share details of project over chat. I write professional code and deliver work on time.
Regards
Usman Shery