Find Jobs
Hire Freelancers

UNIX Semaphores

$15-20 USD

Complété
Publié il y a plus de 19 ans

$15-20 USD

Payé lors de la livraison
**Objective** Use UNIX semaphores to synchronize accesses to a shred memory segment. **Specifications** A beach resort rents studios by the week. **NVIEWS**of these studios can either face the beach while the remaining**NNOVIEW** face the mainland. For this assignment, you will write a program handling concurrent reservations, cancellations and inquiries by potential customers. Each customer transaction will be represented by a separate process, which means that two or more customers may be doing the same transactions at around the same time. Successive customer requests will be separated by a delay (**DELAY**) of a few seconds. To ensure these concurrent operations yield correct results, you are to use Unix semaphores to control access to rooms/stay periods, which are stored in shared variables. To simulate the time it would take to process an actual reservation, the first lines of your program’s input will specify the required total execution time in seconds for each of the three operations performed at that customer. In your implementation, each specified time should be the length of the critical section for the corresponding transaction. The three possible customer requests will be **reserve week type name cancel week type name check name ... *Check The Attached File** ## 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
N° de projet : 3279697

Concernant le projet

2 propositions
Projet à distance
Actif à il y a 20 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
Décerné à :
Avatar de l'utilisateur
See private message.
$12 USD en 5 jours
4,9 (16 commentaires)
4,6
4,6
2 freelances proposent en moyenne $12 USD pour ce travail
Avatar de l'utilisateur
See private message.
$12,75 USD en 5 jours
5,0 (37 commentaires)
5,6
5,6

À propos du client

Drapeau de UNITED STATES
United States
5,0
1
Membre depuis juil. 10, 2004

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.