I would like to hire a C Programmer

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.


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

Taidot: Algoritmi, C-ohjelmointi

Näytä lisää: hire c++ programmer tutor, hire c++ programmer in van nuys no need exp, hire c++ programmer in van nuys, hire c programmer free lance, leicester hire c++ programmer, leicester hire c programmer, i need a c++ programmer, i need a c programmer, hire c++ programmer, hire c++ programmer singapore, hire c++ programmer freelancer, hire c# programmer, hire c programmer, hire c programmer singapore, hire c programmer freelancer

Tietoa työnantajasta:
( 1 arvostelu ) HK, Hong Kong

Projektin tunnus: #15810039

Myönnetty käyttäjälle:


A proposal has not yet been provided

$340 HKD 3 päivässä
(4 Arvostelua)

3 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


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 envir Lisää

$400 HKD 2 päivässä
(91 arvostelua)

A proposal has not yet been provided

$240 HKD 2 päivässä
(0 arvostelua)