Giter VIP home page Giter VIP logo

lalocaunidaduci's Introduction

LaLocaUnidadUCI🧵🏥

GitHub repo size GitHub last commit

- Demonstrate to the Director that there are insufficient staff to care for 32 patients.

- Demostrar al Director que el personal es infuficiente para atender a 32 pacientes.

Threads exercise in Java with Spring Tool Suite 4 and JDK 17. 🚑

  • The ICU can accommodate 16 patients.
  • The average length of stay of a patient in the ICU shall be 10 seconds.
  • It is estimated an arrival of 32 patients, one every 1/4 of a second.
  • There are 8 doctors on call, the stay time is 3 seconds.
  • There are 16 nurses on call, the stay time is 3 seconds.
  • The patient will never be able to enter the ICU if it is full or if there is no at least one doctor and one nurse.
  • Doctors will only be able to enter the ICU if there is no doctor or if the Ratio of doctors to patients is less than 1|4.
  • Nurses may only enter the ICU if there is no nurse or The proportion of nurse patients is less than 2|4.

Ejercicio de hilos en Java con Spring Tool Suite 4 y JDK 17. 🚑

  • La UCI tiene capacidad para 16 pacientes.
  • El tiempo medio de estancia de un paciente en la UCI será de 10 segundos.
  • Se estima una llegada de 32 pacientes, uno cada 1/4 de segundo.
  • Hay 8 doctores de guardia, el tiempo de estancia es de 3 segundos.
  • Hay 16 enfermeros de guardia, el tiempo de estancia es de 3 segundos.
  • El paciente no podrá entrar nunca en la UCI si está llena o si no hay como mínimo un doctor y un enfermero.
  • Los doctores sólo podrán entrar a la UCI si no hay ningún doctor o si la proporción doctores pacientes es inferior a 1|4.
  • Los enfermeros sólo podrán entrar en la UCI si no hay ningún enfermero o si la proporcion enfermeros pacientes es inferior a 2|4.
vcr.mp4

🛠 Spring Tool Suite 4

🛠 OpenJDK 17.0.8.1+1


lalocaunidaduci's People

Contributors

dfleper avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.