Proyecto De Instituto En C Ascensor Usando Threads/ Highschool Project Using Threads In C

€ 8.00 — 30.00 EUR
If you need me to translate it to English I can do it too.

Realice un software utilizando hilos que gestione el funcionamiento teniendo en cuenta que existirán m personas que desean solicitar un ascensor y que existen dos ascensores en este edificio.
La cantidad de personas será introducida en una variable al inicio del programa.
La cantidad de ascensores en
el edificio será definida por una constante.

• Si es preciso, utilice semáforos para sincronizar los múltiples hilos que figuren en este problema.

• La cantidad de tiempo que un ascensor tarda por cada planta es de 1 segundo.
No se tendrá en cuenta la
cantidad de tiempo que una persona tarda en entrar o salir del ascensor.

• Cada persona cogerá tan sólo una vez un ascensor y tan sólo podrá encontrarse una persona en un ascensor
a la vez.

• No es necesario que el programa termine cuando todas las personas hayan terminado de coger su ascensor.

• La planta de destino de cada persona será un número aleatorio.
Para generar este número se puede utilizar
la función rand(), y el número deberá estar comprendido entre el intervalo .
Si el número aleatorio
concuerda con el número de planta que se encuentra la persona, deberá volverse a calcular este valor hasta
que éste sea diferente al valor de la planta donde se encuentre la persona.

• Cada persona inicialmente se encuentra en una planta del edificio al azar.
Para ello, utilice igualmente la
función rand() citada en el punto anterior.

• Todos los ascensores partirán inicialmente desde la primera planta del edificio.

Similar Freelance jobs:

Linux Distro
Hi everyone! I'm looking for a embedded systems engineer someone with vast knowledge on C++, QT, Kirigami UI Framework, Maui Project Framework these frameworks and knowledge in this language would be of great help in my creation a device I'm engineering. Other important areas of expertise: KDE Plasma, Calamares Installer, Kubuntu Invite will need to sign NDA. Thank you!
Full Description of Linux Distro
Build Me A Fast Proof Of Stake Cryptocurrency
I am looking for an expert at creating cryptocurrencies to develop a fast Proof of Stake cryptocurrency using its own customized network like EOS and XRP. This means that the transaction time between receiving and sending the crypto should be about 5 seconds. I will provide more information about the project in private with whoever is interested in taking on this job.
Full Description of Build me a fast Proof of Stake Cryptocurrency
Stm32 Gui Touchgfx
Realization of a demonstrator on ST STM32F769I-DISCO board (4'' 480x800). STM32Cube - FreeRTOS – TouchGFX The application is defined (screens, sequences to screen or function). Reading one sensors on usart and other messages on canbus (defined messages). Show informations on GUI. Sending messages on canbus (defined messages). Save user's parameters in flash. Source full project Stm32Cube/gfx to deliver. Option: add bootloader IAP on USB to allow the program update (there are 2 flash banks of 1MB. Application is less than…
Full Description of STM32 GUI TouchGFX
Software Designing
I need a good and efficient software which should be helpful and I can get a good rate of selling it.
Full Description of Software designing
Expert In Python And Raspberry Pi
I am looking for an expert in Python and raspberry pi, I have code ready and written in Python required some maintenance, suffering from latency while processing the data and send to the cloud. If you feel you can do this job please contact me.
Full Description of Expert in Python and raspberry pi
© 2006 — 2026 hirelancer.com is an affiliate website, listing the freelance projects. We are collaborating with other sites like getFreelancer.com. Feel free to bid on any project and good luck! You will need register first, before bidding or posting projects. Basic memberhsip is always free. We might earn commissions from referring you. You will never ever pay additional fees for we referred you.