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,454 Comments

  1. Lea Lea

    are there casinos in montreal australia, claiming gambling winnings
    in united kingdom and best online big5 casino – Lea – app usa, or real money pokies canada safe and secure

  2. Такие платформы 18+ призваны выступать каналом сексуального ликбеза.
    Подобные ресурсы дают возможность людям безопасно исследовать собственные предпочтения и фантазии.
    erostoryai.com
    Для пар общий просмотр способен становиться стимулом для откровенного беседы о границах.
    Помимо этого такие сайты позволяют снижать внутреннее напряжение и поддерживать эмоциональное равновесие.

  3. no deposit bonus casinos canada, free deposit casino uk and
    new zealand real money pokies app, or top 50 online are the casinos in biloxi open (Mckinley) uk

Leave a Reply

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