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

已完成 已发布的 Apr 1, 2015 货到付款
已完成 货到付款

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 编程 C++编程 工程 软件构架 软件测试

项目ID: #7413364

关于项目

18个方案 远程项目 活跃的Apr 6, 2015

授予:

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 在1天内
(366条评论)
7.1

有18名威客正在参与此工作的竞标,均价$157/小时

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 更多

$150USD 在1天里
(781条评论)
9.0
super2lao

A proposal has not yet been provided

$252 USD 在3天内
(158条评论)
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 更多

$120USD 在1天里
(155条评论)
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 更多

$252 USD 在3天内
(306条评论)
7.0
vvadimov

A proposal has not yet been provided

$160 USD 在4天内
(58条评论)
5.6
dinhks

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

$100 USD 在3天内
(46条评论)
5.1
kteja85

A proposal has not yet been provided

$155 USD 在3天内
(34条评论)
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 更多

$200 USD 在5天内
(22条评论)
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 在3天内
(19条评论)
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 在3天内
(38条评论)
4.8
mibrahim070

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

$100USD 在1天里
(14条评论)
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 在2天内
(5条评论)
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 更多

$145 USD 在3天内
(9条评论)
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.

$55USD 在1天里
(1条评论)
0.1
dippjhonny

A proposal has not yet been provided

$155 USD 在3天内
(0条评论)
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 更多

$222 USD 在10天内
(0条评论)
0.0