write a C++ program called [login to view URL] using POSIX thread facilities. The following system will consist of five producer threads...

Encerrado Postado May 5, 2015 Pago na entrega
Encerrado Pago na entrega

write a C++ program called [url removed, login to view] using POSIX thread facilities. The following system will consist of five producer threads (called “prod1”, “prod2”, “prod3”, “prod4” and “prod5”), and five correspondingly consumer threads (namely “cons1”, “cons2”, “cons3”, “cons4” and “cons5”). These threads are asynchronous and execute at unpredictable speeds. Each producer thread has to communicate a sequence of integers to the corresponding consumer thread. All producer threads deposit the items to be sent to their respective consumers in a single buffer called channel. Each item has two attributes: producer # and an integer value. Thus items of different producers are put in the channel in any arbitrary order.

The following scheme is used to deliver the items in this buffer to the correct consumer thread. There is a router thread, which repeatedly removes items from the channel buffer (using FIFO policy), and based on item’s producers` #, puts it in another buffer (called postbox) that corresponds to the respective consumer. Each consumer picks up the items from their respective postboxes in the same order as they are put in (again FIFO) and writes them out to an output file.

Programação C++ Linux Ubuntu

ID do Projeto: #7613059

Sobre o projeto

10 propostas Projeto remoto Ativo em Jun 11, 2015

10 freelancers estão ofertando em média $34 nesse trabalho

kaloyan13

Hello, I have done many consumer/producer problems. Can do yours for a day. Thanks.................

$50 USD em 1 dia
(130 Comentários)
6.0
xuhaijiao

hi, please check my review, i am good at such projects and i have done many similar like this i have 7 years c/c++/java/php/.net database programming experience under windows, linux system, smartphone,i can do the j Mais

$45 USD em 1 dia
(23 Comentários)
4.2
wolibaba

I think I can do this within 24 hours. I use Linux everyday, and I am pretty familiar with gcc/g++ and pthread.

$66 USD em 1 dia
(3 Comentários)
2.8
kpol4k

Hi, I'm experienced C/C++ developer working currently in Nokia R&D center in Wroclaw. I can implement such software for you. I done many students project so far always well written and documented. BY, Konrad

$25 USD em 1 dia
(2 Comentários)
1.9
Nishantbijani

Powerful Grip on Threading, Synchronization & OS Conceptual Programming. Excellent in Coding & Having Professional Experience of 1.5 Years on Software Development.

$25 USD em 1 dia
(1 Comentário)
0.4
ebinthomas

I have been working in c++ programming for last three years. So I can finish this task on time with accuray.

$20 USD em 1 dia
(0 Comentários)
0.0
dharmeshpatil51

A proposal has not yet been provided

$25 USD em 1 dia
(0 Comentários)
0.0
chints34

Having Powerful grip on MultiThreading, Synchronization & OS Conceptual Programming. Having Great Experience & Expert in Coding Since ChildHood.

$30 USD in 2 dias
(0 Comentários)
0.0
queue

Hi! I will implement the dispatcher using C++ standard 11 and the Standard Template Library. Please, see my profile.

$25 USD em 1 dia
(0 Comentários)
0.0