Find Jobs
Hire Freelancers

Simulator that sells the remaining tickets in the lastest moment for a commercial flight

€30-250 EUR

Fermé
Publié il y a environ 7 ans

€30-250 EUR

Payé lors de la livraison
This project is to initiate The Inter Process Communications and multi processing. And it must be written in C on Linux. We must realise a simulator that sells the remaining tickets in the lastest moment for a commercial flight. To do so, some specificities MUST be respected : 5 Process must be used and coded separately in separate files (with a makefile and a file.h) and they must be able to communicate (mutex/semaphore/Message queue/Shared memory/Message passing/Pipe) -The first process must be named "Utilisateur" : It must send the "destination" of the concerned flight ticket and the number of places entered by the user to the process "Agence" using a Message Queue. - The process "Agence": Read the informations in the Shared Memory and verify if the transaction is possible "Agence" answers "Utilisateur" using signals. - The process "Tirage" : periodicly and randomly choses a destination and a number of places, then sends them to "Ecrivain" with an ordinary pipe. -The process "Ecrivain" : Harvests the informations contained in the pipe and puts them in the shared memory if there is free space in it. If not, it waits untill space if free. -The process "Affichage" : reads the shared memory and displays the flights that aren't full yet. It also must erase the complete destinations from the shared memory. The maximum number of character for each destination is 20. So before filling he shared memory, the process "Ecrivain" must adjust the names of each destination to make it 20 character (by filling the remaining free characters with something). The max number of simultanious flights is set to 20. The shared memories, the semaphores, and the pipes need a key to use theses IPCs. There are the keys chosen to do so : • Shared memory key : 100 • Message Queue key : 200 • Semaphor mutex key : 300 The Coding must be done in C. And it must be detailed as much as possible with lots of commentaries IN THE CODE. Commentaries must be explicit and pedagogic for everyone to understand every step of the coding. The code must copile and run, and the process must communicate with each other without any problem. Libraries are joined for shared memories and semaphor uses. Also, this project is initially written in FRENCH. I will attach the full subject so if any question, ask me or try to translate the subject. The processes must run on separated terminals with a command (exemple : ./utilisateur) and their closing must be programmed as when you close one of them, all of them close. (or when a SIGQUIT signal is recieved). The process "Utilisateur" will then be closed with an exit(0).
N° de projet : 12690264

Concernant le projet

4 propositions
Projet à distance
Actif à il y a 7 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
4 freelances proposent en moyenne €192 EUR pour ce travail
Avatar de l'utilisateur
Hello I'm interesting your project very well I'm a Good C++, OpenCV, Math, Jave, Algorithm expert. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Thanks
€309 EUR en 5 jours
4,9 (285 commentaires)
7,8
7,8
Avatar de l'utilisateur
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
€100 EUR en 4 jours
4,9 (76 commentaires)
6,5
6,5
Avatar de l'utilisateur
€277 EUR en 5 jours
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
Hi!! I am relatively new here, have a look at my profil. First of all I have no knowledge of French (I don't know if you think it is necessary) but I can speak English fluently. I am primarily interested in parallel programming and as a very new guy I should offer "good" prices. Your project is pretty well described and straightforward as it is to serve educational purposes. My proposition for 10 days is because I can start completing this from Sunday on... What's your actual deadline? If you are interested we can talk
€80 EUR en 10 jours
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de FRANCE
France
0,0
0
Membre depuis janv. 3, 2017

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.