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

  1. et et

    Искал зеркало 1xbet на сегодня и нашёл несколько вариантов. Сайт часто блокируют, но всегда есть рабочие зеркала. Особенно удобно использовать зеркало 1xbet онлайн, чтобы не искать каждый раз. По теме 1xbet zerkala https://1xbet-rabochee-zerkalo.com/ советую смотреть обновления в группах. 1xbet zerkalo помогают не терять доступ к своим ставкам. Если 1xbet вход на сегодня зеркало не работает, просто ищите новое зеркало — их обычно много. 1хбет зеркало на сегодня — это отличный способ оставаться в игре даже при блокировках. Главное — не терять доступ к своим аккаунтам и ставкам.

  2. best pokies app united kingdom, united states online casino real money and real money gambling online united states, or how to play pokies in canada

    Also visit my website – blackjack atx price (Columbus)

  3. bet365 roulette strategy usa, united kingdom casino guide and online poker for money usa, or usa poker app

    Check out my homepage :: craps payout rules – Dexter –

Leave a Reply

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