C/C++ Multi-threaded Simulation using pthreads library
$30-250 USD
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.
Project ID: #7413364
About the project
Awarded to:
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.
18 freelancers are bidding on average $157 for this job
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
Hi I am Dinh. I am senior in c and java. Hope to work with you. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
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
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
I have more experience in c++ and pthreads library , I can finish fast , Open chat for further details .
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.
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.
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