Operating System - ProducerConsumer

Befejezett Kiadva: 7 évvel ezelőtt Kiszállításkor fizetve
Befejezett 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.

C++ Programozás Java Linux

Projektazonosító: #11959967

A projektről

10 ajánlat Távolról teljesíthető projekt Utoljára aktív: 7 évvel ezelőtt

Odaítélve:

it2051229

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.

$70 USD 1 napon belül
(1149 értékelés)
7.6

10 szabadúszó tett átlagosan 83$ összegű árajánlatot erre a munkára

kaloyan13

Hello, I can do your project for a few hours. Can start working immediately. Thanks.................

$60 USD 1 napon belül
(176 vélemény)
6.4
Calleus

Hi, I have strong background in java and large experience with operating systems. Let me help you. I am ready to start.

$80 USD 3 napon belül
(90 vélemény)
6.0
xeathprynx

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

$60 USD 2 napon belül
(67 vélemény)
5.0
yamaf555

Hi,How are you? I have a lot of experiences inJava Application,Objective c,C++ and so on for 5+years. I understand your proposal completely. I am sure that I will carry out completely with my skills. If you reply Továbbiak

$133 USD 2 napon belül
(23 vélemény)
4.6
Nkokila

A proposal has not yet been provided

$60 USD 5 napon belül
(11 vélemény)
3.6
VnNorthStar

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

$50 USD 3 napon belül
(10 vélemény)
2.9
phanireddyss

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.

$90 USD 5 napon belül
(0 vélemény)
0.0
gmarucci

The producer and the consumer are two java classes to implement respectively the generation (sequencely) of the 100 random numbers and the consuming of the numbers. The classes producer and consumer will be executed in Továbbiak

$200 USD 2 napon belül
(0 vélemény)
0.0
skriyaz09

I have been working as a software developer for more than one and half year on C++ and having good knowledge of algorithms and data structures and good problem solving skills. I'm flexible about languages so I can writ Továbbiak

$61 USD 5 napon belül
(0 vélemény)
0.0