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)

2,001 Comments

  1. https://miamifightcard.com/
    In the context of MediaFightCard, the betting odds present a notable dynamic with titleholders entering as underdogs and opponents occupying favorite status. In the featured bout for the open light heavyweight title, previous belt-holder Jiri Prochazka was installed as a narrow -143 favorite over the in-form Carlos Ulberg, who comes in as a +116 underdog even with his nine-fight winning streak.

  2. https://ufc327odds.com/
    The upcoming UFC 327 light heavyweight championship bout in Miami presents a genuine pick’em for those placing wagers, as ex-champion Jiri Prochazka (-142) and hot-streaking knockout artist Carlos Ulberg (+120) prepare to throw down for the unclaimed belt. The tight odds highlight how well-paired these two stand-up fighters happen to be, creating a scenario where a wager on either man is simply a matter of which explosive approach you believe will emerge victorious.

  3. Эта статья предлагает захватывающий и полезный контент, который привлечет внимание широкого круга читателей. Мы постараемся представить тебе идеи, которые вдохновят вас на изменения в жизни и предоставят практические решения для повседневных вопросов. Читайте и вдохновляйтесь!
    Выяснить больше – https://vivod-iz-zapoya-2.ru/

Leave a Reply

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