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)

11,364 Comments

  1. the top online pokies and casinos in united states legit, australia slot machine games and bingo the uk, or united states live casino

    Also visit my webpage; desert inn mini roulette wheel (Randy)

  2. Kay Kay

    chusachansi casino in fresno california, new zealand poker players and golden pokies united
    states, or roxy huuuge casino free charms 2021 –
    Kay, united states

  3. LarryVof LarryVof

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

Leave a Reply

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