Find Jobs
Hire Freelancers

Producer–Consumer Problem

$10-30 USD

Completed
Posted over 8 years ago

$10-30 USD

Paid on delivery
Producer–Consumer Problem we presented a semaphore-based solution to the producer– consumer problem using a bounded buffer. In this project, you will design a programming solution to the bounded-buffer problem using the producer and consumer processes. The solution presented in uses three semaphores: empty and full, which count the number of empty and full slots in the buffer, and mutex, which is a binary (or mutualexclusion) semaphore that protects the actual insertion or removal of items in the buffer. For this project, you will use standard counting semaphores for empty and full and a mutex lock, rather than a binary semaphore, to represent mutex. The producer and consumer—running as separate threads—will move items to and from a buffer that is synchronized with the empty, full, and mutex structures. You can solve this problem using either Pthreads or the Windows API.
Project ID: 8869730

About the project

8 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi there, I am a software engineer.I can do your work with great accuracy and with complete [login to view URL] free to ask me [login to view URL] I already have done it. I will send you code for that in a few hours. Regards, Azeem Qamar
$25 USD in 0 day
4.9 (34 reviews)
4.7
4.7
8 freelancers are bidding on average $28 USD for this job
User Avatar
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 c++ to make many great projects, for example, I made the tools which can convert java files to c++ scripts which has the same effect, of course garbage collection included. I also made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$80 USD in 1 day
4.9 (107 reviews)
6.8
6.8
User Avatar
I fully understand your requirements, I'm pretty confident that I will meet your expectation. I will assist you until the work is done.
$20 USD in 1 day
5.0 (6 reviews)
2.9
2.9
User Avatar
hello there i have done something similar with posix semaphore and thread in fact i have a sample that might interest you. i can show it to you and if further modification is required i will do it.
$25 USD in 1 day
4.9 (2 reviews)
1.3
1.3
User Avatar
I have a good working experience with OS synchronization mechanisms. Worked extensively in C++ and C application developments
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
This is a problem about basics of multithreaded programming. The only question I have: you tagged your project with UNIX, but in the description you mention that the problem could be solved either with pthread or windows API. To complete the project I have to know which one you prefer.
$18 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
kansas, United States
5.0
5
Payment method verified
Member since Oct 30, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.