Find Jobs
Hire Freelancers

I would like to hire a C Programmer

$240-2000 HKD

In Progress
Posted over 6 years ago

$240-2000 HKD

Paid on delivery
Your task is to tackle these problems above with your own dynamic job assignment implementation. You should write down your detailed implementation introduction in your report (5%) and run benchmark experiments on your program. Requirements: 1. Your program should accept different numbers of workers to produce different number of cars. You should test your program with many combinations of input parameters (number of cars, number of spaces, number of workers) and make sure your program is bug free (10%). You need to draw a graph to show the scalability of your program with the number of workers and run time. Put the graph into your report (10%). You should analyse your output and explain the results you have (5%). Other graphs like showing the relationship of producing different number of cars with the given number of threads (Besides this one, you will get up to 5% bonus for meaningful graphs and their analysis to show the scalability of your program). 2. Your program should be able to handle deadlocks when given small number of storage space (Total 10% for this part. Coding is 5%. Explaining the reason why your implementation can handle deadlock in your report is 5%). You may include some screenshots to help you prove that without your deadlock handling code there’s deadlock and by adding your deadlock handling code there’s no deadlock. Here are some hints: a. Deadlock detection: you don’t know whether you will encounter deadlock or not ahead. But once your program detects that certain threads runs for unreasonable amount of time, you know that deadlock happens. Then you figure out a way to break the deadlock so that the production process can move on. sem_trywait() or sem_timedwait() may be useful here. b. Deadlock prevention: once the production goal is set, you know the number of each part to achieve the goal. You also know how many spaces you have. Your program may analyse these data and assign jobs to workers properly so that deadlock will not happen for sure. **Only Q3 and work on coding(no report) source code will be provide
Project ID: 15810039

About the project

2 proposals
Remote project
Active 6 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
2 freelancers are bidding on average $320 HKD for this job
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$400 HKD in 2 days
4.9 (135 reviews)
7.0
7.0
User Avatar
A proposal has not yet been provided
$240 HKD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of HONG KONG
HK, Hong Kong
5.0
1
Member since Dec 6, 2017

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.