Operating System - ProducerConsumer
$50-60 USD
Kiszállításkor fizetve
Create a producer process and a consumer process sharing data. The producer generates total 100 integer data randomly, and the consumer process reads all those data. The data generated by the producer could be stored in a file by the producer; and the data consumed (i.e., read) by the consumer could be stored in another file by the consumer.
The file of produced data and the file of consumed data could be printed to verify that the two processes have cooperated correctly; that means, each data item is not lost and not consumed more than once. Interprocess communication between producer and consumer (to share data) should be implemented using the following four methods:
1. Use a Pipe to transfer 100 data from the producer to the consumer.
2. Use either the direct message passing or indirect message passing (using a mailbox or a message queue) to transfer 100 data from the producer to the consumer.
3. Use the sockets to transfer 100 data from the producer to the consumer. Note: The producer and consumer processes can be executed on the same machine (or on different machines).
4. Use the shared memory and semaphores for the implementation of the logical ring-buffer (that can store up to 10 data items) and the synchronization.
Projektazonosító: #11959967
A projektről
Odaítélve:
Hi there, I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
10 szabadúszó tett átlagosan 83$ összegű árajánlatot erre a munkára
Hello, I can do your project for a few hours. Can start working immediately. Thanks.................
Hi, I have strong background in java and large experience with operating systems. Let me help you. I am ready to start.
Hello, I am expert in java/c/c++ and i can deliver your task in the least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first Továbbiak
Hi I'm ready for this project. I'm expert in C, C++, also algorithms, Web, Mobile, Desktop applications. Please give me more detail. I will do it perfectly. Best Regards VnNorthStar
I have 10+ years of software experience. I am good at C, C++, data structures, Linux, RTOS. I worked on embedded , telecom and IoT domains. I can do this for you.