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

  1. free pokie spins australia, cash online poker canada
    and australian prime minister blackjack, or paying tax on gambling winnings australia

    Here is my website – is the taj mahal casino still open (Angel)

  2. Could not disagree with the main ideas. Wonder how things will develop over the coming years.

  3. fantastic post, very informative. I wonder why more of the ther experts in the field do not break it down like this. You should continue your writing. I am confident, you have a great readers’ base already!

  4. I just added your web site to my blogroll, I hope you would look at doing the same.

  5. new usa online casinos no deposit bonuses, united statesn casino online and
    free imatant spins no deposit bonus united states, or slots uk new

    Also visit my site webpage

  6. online pokies reviews australia, online casino instant withdrawal uk and
    can roulette be rigged (Jerrold) us citizens play online poker in united states, or slots frenzy

  7. I do not even know how I ended up here, but I thought this post was good. I do not know who you are but certainly you are going to a famous blogger if you are not already 😉 Cheers!

  8. Good post. I study something more difficult on different blogs everyday. It’s going to always be stimulating to learn content material from other writers and observe a little bit one thing from their store. I’d prefer to use some with the content material on my blog whether you don’t mind. Natually I’ll give you a link in your web blog. Thanks for sharing.

Leave a Reply

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