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.739 Comentários

  1. Pretty section of content. I just stumbled upon your website and in accession capital to assert that I get actually enjoyed account your blog posts. Anyway I will be subscribing to your augment and even I achievement you access consistently fast.

  2. Wow that was strange. 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. Anyhow, just wanted to say great blog!

  3. Jamesreode Jamesreode

    Вызов нарколога на дому удобен, когда близкий человек не готов ехать в клинику, стесняется обращаться за медицинской помощью или боится огласки. Доктор приезжает по месту проживания, проводит диагностику, подбирает индивидуально необходимые лекарства и начинает выведение токсинов.
    Детальнее – вывод из запоя на дому казань

  4. Asking questions are actually fastidious thing if you are
    not understanding something entirely, however this piece of
    writing offers nice understanding yet.

    Here is my blog post: treasury casino specials
    (Stephaine)

  5. Hey there, You have done a fantastic job. I will certainly digg it and for my part suggest to my friends. I am confident they will be benefited from this website.

  6. Right now it seems like Expression Engine is the top blogging platform out there right now. (from what I’ve read) Is that what you are using on your blog?

Deixe um comentário

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