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)

1,772 Comments

  1. Somebody essentially assist to make critically articles I’d state.
    That is the very first time I frequented your website page
    and thus far? I amazed with the research you made to create this particular post amazing.

    Magnificent job!

    Feel free to surf to my web site jackpot game real money (Genevieve)

  2. win money instantly usa no deposit, online gambling roulette
    united states and how to get money back from gambling
    sites usa, or canadian online monte casino games (Anya) with $5
    deposit

  3. minimum deposit casinos usa, united kingdom roulette for
    mobile phones and online niagara falls seneca casino spa
    (Michell) canada roulette, or poker runs united states 2021

  4. Thanks for your marvelous posting! I actually enjoyed reading it, you happen to
    be a great author.I will be sure to bookmark your blog and will come back in the future.
    I want to encourage you continue your great writing, have a nice afternoon!

    Also visit my web blog; webpage

Leave a Reply

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