C/C++ Multi-threaded Simulation using pthreads library

Completed Posted Apr 1, 2015 Paid on delivery
Completed Paid on delivery

implement a C/C++ multi-threaded program that uses pthread library and avoids deadlock. See attached file for details.

• You are required to use pthread synchronization tools such as semaphores and mutex locks to do synchronization

You are required to output all of the necessary events into two files named “[login to view URL]” and “[login to view URL]”. For “[login to view URL]”, you need sequentially number (processID) each process and indicates the process’s arrival time, the time to start processing (start-time), and the time to exit (end-time). The “[login to view URL]” looks like: processID Resource arrival-time start-time end-time

1 Rq 12:25:11 12:25:12 12:25:13

2 Rl 12:25:13 12:25:13 12:25:14

The “[login to view URL]” tracks when the flag person goes to sleep and when he/she is woken up to work.

Time State

12:10:11 sleep

12:25:11 woken-up

So, you will simulate by having process with a critical section and a remainder section. You can do so by just using flags and delay counters to indicate when a thread is executing its critical or remainder sections. Will need to see basic understanding of what is required before I award the project. Thanks.

C Programming C++ Programming Engineering Software Architecture Software Testing

Project ID: #7413364

About the project

18 proposals Remote project Active Apr 6, 2015

Awarded to:

kaloyan13

Hello, I am a parallel programmer and Pthreads is very well known to me. I have done numerous versions of the bounded buffer and producer/consumer models. Can start working on yours later today. Thanks.

$100 USD in 1 day
(366 Reviews)
7.1

18 freelancers are bidding on average $157 for this job

Yknox

Hello I'm interesting your project very well I'm a Good C/C++, Thread, Algorithm expert. I understand your req exactly. I m quite well experienced in these assignment jobs. Let's go ahead with me I want to se More

$150 USD in 1 day
(781 Reviews)
9.0
super2lao

A proposal has not yet been provided

$252 USD in 3 days
(158 Reviews)
7.9
hbxfnzwpf

I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used More

$120 USD in 1 day
(155 Reviews)
7.1
dobreiiita

Hello I am C++ expert and interested in this project. I have reviewed your requirements and confident to handle this project perfectly. I also have a lot of experience in helping students with assignments. Pleas More

$252 USD in 3 days
(306 Reviews)
7.0
vvadimov

A proposal has not yet been provided

$160 USD in 4 days
(58 Reviews)
5.6
dinhks

Hi I am Dinh. I am senior in c and java. Hope to work with you. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

$100 USD in 3 days
(46 Reviews)
5.1
kteja85

A proposal has not yet been provided

$155 USD in 3 days
(34 Reviews)
5.2
argento

Hi. We are a group of experienced engineers with different backgrounds (telecommunications, electronics and systems) with experience in technologies like C/C++/C#/Java/J2EE/Linux/Scripting/SQL, who work for a telecommu More

$200 USD in 5 days
(22 Reviews)
4.8
prateekchandan

Hi , I have previously used threading library in simualtor. And you assignment seems to me one of the process scheduler assignment of mine in my OS course. I could do this for you very easily

$200 USD in 3 days
(19 Reviews)
4.7
xuhaijiao

hi, just check my reviews please hi, i have 7 years c/c++/java programming experience under windows, linux system,i can do the job well please consider me and supply more details

$90 USD in 3 days
(38 Reviews)
4.8
mibrahim070

I have more experience in c++ and pthreads library , I can finish fast , Open chat for further details .

$100 USD in 1 day
(14 Reviews)
4.0
wolibaba

I can deliver this within 24 hours(at most 48 hours, depending on when I start to work on it). By the way, if I can not finish this project, there will be no fee at all. Looking forward for your message.

$155 USD in 2 days
(5 Reviews)
3.4
klimzpp

Hello! Can do this task for you very quickly. I have wide experience in writing utilities on C/C++/C# (including client-servers scripts, web scraping, monitoring and control systems, and so on), also worked with More

$145 USD in 3 days
(9 Reviews)
2.8
hainguyen8y

Let me help you. I'm very good at C/C++ multi-threaded programming. I have experienced for over 3 year in linux programming as well. I can do it for you.

$55 USD in 1 day
(1 Review)
0.1
dippjhonny

A proposal has not yet been provided

$155 USD in 3 days
(0 Reviews)
0.0
aspasojevic

I need 10 days because this would be part time project. I use c, c++, c# almost daily in my current job so this won't be a problem. I am familiar with producer/consumer problem and with readers/writers probelm and of c More

$222 USD in 10 days
(0 Reviews)
0.0