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)

10,155 Comments

  1. bet365 roulette strategy usa, best strategies online casino
    (Janelle) live
    casino united states and can us citizens play online poker in united states,
    or all australian casino no deposit bonus codes

  2. Glennabing Glennabing

    Схема помощи зависит от состояния, стажа употребления, противопоказаний и дальнейших целей лечения.
    Изучить вопрос подробнее – narkologicheskaya-klinika-moskva-otzyvy

  3. If you asked me to point to a recent positive sign for the open web this site would be near the top, and a stop at truereach reinforced that designation, the few sites that serve as evidence the web can still produce quality independent content are precious and this one has clearly become one for me.

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

Leave a Reply

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