Find Jobs
Hire Freelancers

Bounded Buffer

$30-5000 USD

Terminado
Publicado hace más de 19 años

$30-5000 USD

Pagado a la entrega
Construct a program, which creates two processes: producer and consumer. Process reader will read data into the buffer ***linestr,*** while process consumer will display the contents of the buffer 5 times, both processes share the buffer, ***linestr[21],*** implemented as shared memory among processes. The program should take two integers, k1 and K2 as command-line inputs. Use a mutual exclusion semaphore to prevent the producer and consumer from manipulating the list of buffers at the same time, a semaphore so that the producer can signal the consumer to start processing when it creats a full buffer, and another semaphore for the consumer to signal the producer when it creates an empty buffer. Process consumer and producer will be provided. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform UNIX
ID del proyecto: 3393479

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 19 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$2 USD en 1 día
4,7 (29 comentarios)
5,0
5,0
3 freelancers están ofertando un promedio de $100 USD por este trabajo
Avatar del usuario
See private message.
$42,50 USD en 1 día
5,0 (81 comentarios)
5,1
5,1
Avatar del usuario
See private message.
$255 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
4,1
10
Miembro desde sept 18, 2004

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.