Create a shared memory segment and child processes in C

Budget $10 - $30 USD
Bids 4
Average Bid $64
Status Closed

Creation of unique shared memory segments for the Mean/Median/Mode instance to store


2. Creation of a pipe for each Mean/Median/Mode instance that provides it with th

e ID of the

shared memory segment created in step (1). The file descriptor (FD) of the pipe is passed as an

additional argument to the Mean/Median/Mode.

3. Mean/Median/Mode processes run concurrently rather than sequentially. This means that the


will launch all the child processes and then start waiting for results.

As in the previous assignment, each instance of the Mean/Median/Mode will receive the text file

as an arguments. To facilitate this, the Initiator will take one argument and selectivel

y pass it on

to the Mean/Median/Mode executables.

For instance, executing the command


Initiator [url removed, login to view]

would create 3 child processes that would compute mean. Median and mode, respectively, in

parallel (% is the system prompt).

The Mean/Median/Mode

have changed as well:

1. An additional command line argument gives the FD of the pipe to read from.

2. Using the pipe FD, the Mean/Median/Mode determines the segment ID of the shared memory

to store its result.

3. The resulting value (type


) is store

d in the shared memory segment.

Get Free Quotes For A Project Like This

Looking to make some money?

  • Set your budget and the time frame
  • Outline your proposal
  • Get paid for your work

Bids on this Project

  • SabidHabib Profile Picture


    Dhaka,  Bangladesh

    I have good experience with -C -C++ -Android -Java -Website Development -SQL I have been working as a Developer for many years. I am a hard worker. If hired by you I will be responsible to complete the task within the stipulated time frame and with utmost confidence. Outsource me for your project and I promise to bring in the best output.

  • utkarshkatiyar19 Profile Picture


    kanpur,  India

    Hi, I have good knowledge of C/C++/Java/Python programming on Linux, Windows and Mac OS. I have knowledge about Mathematics , and any Computer related concept such as Algorithms, Data Structures, Networking, Cryptography, Databases, Operating Systems , Compilers, Data Mining etc. I also have experience related to web. Feel free to discuss your project with me in these domains or any other relevant domain. I ensure 24*7 Support.

  • JawadIT Profile Picture


    Karachi,  Pakistan

    I am currently working as an Application Developer in Central Depository Company of Pakistan Limited. Having two years of experience in the industry of Information Technology, also 6 years of experience in academics with 1 year experience in Content Writing (i.e Research Paper, Report Writing). I have done by B.E in Computer Systems in 2014 and currently completing my MS in Software Engineering. -I have written a research paper on "Energy Efficient Storage System". -Developed a customized android based RFID attendance system for my Institute. -Designed business reports and Developing Back Office Accounting System Application for my Company in a teamwork. I am strong at Java with integration to Enterprise Java Beans and XML.