consumerproducer
$30-5000 USD
Paid on delivery
An arbitrary number of producers and consumers implemented as separate Linux programs (processes) are to communicate with one another by reading and writing to a fixed length circular buffer in kernel memory. The kernel memory should be accessed using the char driver interface. Readers and writers should block if there is no space to read/write in the buffer. If a read is made for a number of bytes greater than that held by the buffer, the read should complete returning the available bytes. If a write is made of a number of bytes greater than that available in the buffer, the write should complete returning the number of bytes written. State wether you would expext your solution to work on a SMP computer and explain why.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased.
## Platform
Linux Program written in C
Project ID: #2918245