Skip to content

Ex 1 – Dedicated Operating Systems – INE5424 – UFSC

Exercise 1
Idle-waiting Thread Joining
– It have as an objective to change the method “join” of a Thread. It was implemented like this:

[code lang=”c”] while(_state != FINISHING)
yield();
[/code]

This method consist in verify the state of the Thread that is joined, if the state is different from FINISHING, it calls yield(). This solution cause an overhead, because it do this verification all the time that the process is Phased. We should implement a new function, that don`t cause this overhead.

Modified files:
thread.cc
Thread.h

EPOS with our solution.
Steps, and explanation about other solutions (PORTUGUESE)

8,860 Comments

  1. AlbertJeams AlbertJeams

    Мы работаем круглосуточно, принимаем срочный вызов, консультируем анонимно и индивидуально подбираем необходимые процедуры. В течение нескольких минут после обращения можно получить консультацию, узнать цены, уточнить контакты, оформить заявку и вызвать нарколога. Врач проведет осмотр, подберет препараты, поставит капельницу, даст рекомендации родственникам и при необходимости направит больного в стационарное отделение.
    Ознакомиться с деталями – http://www.domen.ru

  2. Found this through a friend who recommended it and now I see why, and a look at quvexacore only strengthened that recommendation in my own mind, word of mouth still works for content that actually delivers and this site is clearly earning recommendations the old fashioned way through quality rather than marketing.

  3. However measured this site clears the bar I set for sites I take seriously, and a stop at ravionstore continued clearing that bar, the metrics I use for site quality are admittedly informal but they are consistent and this site has cleared them on multiple measurements across multiple visits which is meaningful for my evaluation.

  4. RichardHar RichardHar

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

  5. Reading this prompted me to subscribe to my first newsletter in months, and a stop at quvexacore confirmed the subscribe was the right call, content that earns a newsletter signup is content that has cleared a higher trust bar than a casual visit and this site has clearly earned that level of commitment from me.

Leave a Reply

Your email address will not be published. Required fields are marked *