write a software -- 2

you will write a program that will package books published by different publishers.

You will have publisher and packager threads. After publishers publish books, packagers package the

books published.

 The number of publisher types, publisher and packager threads will be given as command line

argument. (i.e. You will have n number of publisher types. Each publisher type will have m

publisher threads (at total, there will be m*n publisher threads). There will be k number of

packager threads. All these numbers (n, m, and k) will be given as command line arguments.)

 Each publisher type threads will publish one type of book. The number of books that will be

published by each publisher type will be given as command line argument.

 The books will be named according to its publisher type, i.e., the lth book published by the ith type

of publisher will be named Booki_l.

 After publishing a new book, each publisher thread will put it in a buffer that is shared among the

same type of publisher. (Each publisher type will have its own buffer.) The buffers’ initial size

will be given as command line argument.

 When its buffer is full, the publisher thread that wants to put a book will double the size of the


 When each publisher thread publishes required number of books, they will exit the system.

 Packagers package the books published. They will take books from the buffers (each packager

thread can take books from all buffers).

Habilidades: Programação C

Sobre o Cliente:
( 0 comentários ) New York, United States

ID do Projeto: #28995307

Concedido a:


Hi I'm a highly proficient IT specialist with proven expertise in Linux and Linux operating system and experience in Wireless controller and Intelligent Transportation System Firmware Development. ►Worked on SPC5 Micro Mais

$2222 USD em 1 dia
(2 Comentários)

4 freelancers estão ofertando em média $1514 nesse trabalho


Hi there, I'm bidding on your project "write a software -- 2" Being an expert in C, and C++ programming I can do this project for you. please leave a message on my chat so we can discuss the budget and deadline of the Mais

$1500 USD in 6 dias
(35 Comentários)

Hello, Upon reading the job details I would say that all the required skills C Programming fall under my skills. I work on freelancer full time and I believe I can do this job if I get all the detailed requirements. P Mais

$1500 USD in 26 dias
(4 Comentários)

hi there i am expert c developer i can make this program for your to package book pulished. ping me to get it done. looking forward for your response

$833 USD in 7 dias
(4 Comentários)