Find Jobs
Hire Freelancers

Create a shared memory segment and child processes in C

$10-30 USD

Cancelled
Posted over 7 years ago

$10-30 USD

Paid on delivery
Creation of unique shared memory segments for the Mean/Median/Mode instance to store results. 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 Initiator 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 [login to view URL] 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 double ) is store d in the shared memory segment.
Project ID: 11754818

About the project

3 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $35 USD for this job
User Avatar
Hi, i have a lot of experience in c and c++ programming on Linux. i can easily complete this task for you. we can have a chat. thanks
$50 USD in 1 day
4.8 (90 reviews)
5.7
5.7
User Avatar
A proposal has not yet been provided
$30 USD in 2 days
4.7 (7 reviews)
3.4
3.4
User Avatar
Highly interested with your project and im ready to start right now. My completion rate is always 100% and I only bite what I can chew. Knock me please
$150 USD in 5 days
5.0 (8 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Oct 11, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.