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

  1. ThomasDam ThomasDam

    В данном материале представлены ключевые тенденции в сфере медицинской науки и практики. Вы узнаете о последних открытиях, инновационных подходах к терапии и важности профилактики заболеваний. Особое внимание уделено практическому применению новых методов в клинической практике.
    Открой скрытое – прокапаться от алкоголя ростов

  2. Just wanted to drop a quick note saying this was a useful read on a topic I have been circling, no fluff, and a stop at connectwithpeople added a few extra points that fit the same simple style which makes the whole site feel coherent rather than thrown together by many different writers with different goals.

  3. Now noticing how rare it is to find a site that does not feel rushed, and a look at linkclimb extended that calm pace, content produced without time pressure has a different quality than content shipped to meet a deadline and this site reads as written without urgency which produces a different and better experience for readers.

  4. Felt energised after reading rather than drained, which is unusual for online content these days, and a look at discoveramazingfinds continued that good feeling, content that leaves you better than it found you is rare and worth bookmarking when you stumble across it for the first time today or any other day really.

  5. Reading this gave me a small mental break from the heavier reading I had been doing, and a stop at thinkactachieve extended that lighter feel, content that provides relief without becoming trivial is harder to produce than people realise and this site has clearly figured out how to be light without being shallow at all.

  6. Adding to the bookmarks now before I forget, that is how good this is, and a look at rankbeacon confirmed the rest of the site is worth saving too, this is one of those rare finds that justifies the time spent searching the web for once which is a relief in the current environment.

  7. Reading this gave me confidence to make a decision I had been putting off, and a stop at ranksprout reinforced that confidence, content that translates into action in my own life rather than just informing it is content with the highest practical value and this site is generating that action level utility for me lately.

  8. Considered alongside other sources I have been reading this one consistently rises to the top, and a stop at linkcove maintained that top ranking, the informal ongoing comparison between sources is something I do whenever reading on a topic and this site keeps coming out near the top of those comparisons over many sessions.

Leave a Reply

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