Ir ao conteúdo

Exercício Estacionamento, Java, Programação Concorrente.

Boa tarde,

Semana passada fiz a última prova de Programação Concorrente deste semestre. O problema que devia se solucionar era o seguinte:

O estacionamento de uma universidade possui 30 vagas. Enquanto o mesmo possue vagas, não existe prioridade para quem estaciona. Quando o mesmo está cheio, forma-se uma fila, onde professores possuem a mais alta prioridade, seguido pelos funcionarios e após os alunos. Utilize java com Threads para “simular” este problema. Utilize 10 professores, 15 funcionários, 30 alunos.

O Professor Mazzucco, disponibilizou uma implementação do mesmo que vou disponibilizar para vocês.

Implementação problema estacionamento em Java

Matheus

Publicado emjavaProgramação Concorrente

2.934 Comentários

  1. May I simply just say what a comfort to discover somebody that genuinely knows what they’re discussing on the web. You actually realize how to bring an issue to light and make it important. More and more people ought to read this and understand this side of your story. I was surprised that you’re not more popular because you surely have the gift.

  2. Hi there, You have done an excellent job. I’ll certainly digg it and individually suggest to my friends. I am confident they will be benefited from this website.

  3. At this time it looks like WordPress is the best blogging platform available right now. (from what I’ve read) Is that what you are using on your blog?

  4. Right now it sounds like Movable Type is the top blogging platform available right now. (from what I’ve read) Is that what you are using on your blog?

  5. At this time it seems like Expression Engine is the best blogging platform out there right now. (from what I’ve read) Is that what you’re using on your blog?

  6. At this time it sounds like Drupal is the best blogging platform out there right now. (from what I’ve read) Is that what you are using on your blog?

  7. Wow that was odd. I just wrote an incredibly long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyways, just wanted to say excellent blog!

  8. Wow that was odd. I just wrote an very long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say superb blog!

  9. Can I just say what a comfort to discover an individual who really knows what they’re talking about on the net. You definitely understand how to bring a problem to light and make it important. A lot more people really need to check this out and understand this side of the story. It’s surprising you aren’t more popular given that you definitely have the gift.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *