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

  1. For newest information you have to visit the web and on web I found this
    web site as a most excellent web page for newest updates.

    My homepage: gateway casinos stock [Sallie]

  2. Excellent blog here! Also your site loads up very fast!
    What host are you using? Can I get your affiliate link
    to your host? I wish my web site loaded up as quickly as yours
    lol

    my web blog: win consistently at baccarat (Lilliana)

  3. Deb Deb

    poker united statesno gratis, legitimate online pokies
    australia and free casino usa bonus no deposit, or free bonus casino
    uk

    Feel free to surf to my homepage; apps you can gamble real money (Deb)

  4. Discover the thrill of real-money live casino action at Maxispin game providers, where you can enjoy live dealers, top software providers, and exclusive promotions.
    Enhancements are prioritized by the development team to boost performance and user experience.

  5. Discover the thrill of real-money live casino action at online table games, where you can enjoy live dealers, top software providers, and exclusive promotions.
    Even newcomers find navigation on maxispin-au.com intuitive and straightforward.

Leave a Reply

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