write a C++ program called [login to view URL] using POSIX thread facilities. The following system will consist of five producer threads...
$10-30 USD
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.
ID do Projeto: #7613059
Sobre o projeto
10 freelancers estão ofertando em média $34 nesse trabalho
Hello, I have done many consumer/producer problems. Can do yours for a day. Thanks.................
I think I can do this within 24 hours. I use Linux everyday, and I am pretty familiar with gcc/g++ and pthread.
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
Powerful Grip on Threading, Synchronization & OS Conceptual Programming. Excellent in Coding & Having Professional Experience of 1.5 Years on Software Development.
I have been working in c++ programming for last three years. So I can finish this task on time with accuray.
Having Powerful grip on MultiThreading, Synchronization & OS Conceptual Programming. Having Great Experience & Expert in Coding Since ChildHood.
Hi! I will implement the dispatcher using C++ standard 11 and the Standard Template Library. Please, see my profile.