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

  1. Quintonnix Quintonnix

    Этот медицинский обзор сосредоточен на последних достижениях, которые оказывают влияние на пациентов и медицинскую практику. Мы разбираем инновационные методы лечения и исследований, акцентируя внимание на их значимости для общественного здоровья. Читатели узнают о свежих данных и их возможном применении.
    ТОП-5 причин узнать больше – Похмельная служба в Сочи

  2. happyhomecorner happyhomecorner

    Over the course of reading several posts here a pattern of quality has emerged, and a stop at happyhomecorner confirmed the pattern, the difference between sites that hit quality occasionally and sites that hit it consistently is huge and this site has clearly demonstrated the consistent kind through what I have read this morning.

  3. freshvalueplace freshvalueplace

    Better signal to noise ratio than most places I check on this kind of topic, and a look at freshvalueplace kept that going, every paragraph here carries something worth reading rather than padding out the page to hit some arbitrary length target that search engines reward but readers ignore as soon as they notice it.

  4. uniquevaluecollection uniquevaluecollection

    Now adding this to a list of sites I want to see flourish, and a stop at uniquevaluecollection reinforced that wish, the few sites I actively root for are sites that produce the kind of work I want more of in the world and this one has joined that small list based on what I have read so far.

  5. orbitport orbitport

    Really appreciate this kind of writing, no shouting and no clickbait headlines just steady useful content, and a quick look at orbitport kept that going, definitely a site I will be returning to whenever I need a sensible take on similar topics in the days ahead and also during slower work weeks.

  6. discovernewproducts discovernewproducts

    If I had to defend the time I spend reading independent blogs this site would feature in the defence, and a look at discovernewproducts reinforced that defensive utility, the ongoing case for non algorithmic reading is one I make to myself periodically and sites like this one provide the actual evidence that supports the case clearly.

  7. elitebuyarena elitebuyarena

    Decided I would read the archives over the weekend, and a stop at elitebuyarena confirmed that the archives would be worth the time, very few sites have archives I would actively read through but this one has earned that level of interest based on the consistent quality across what I have sampled so far.

  8. uniquevaluecollection uniquevaluecollection

    Anyone curious about this topic would do well to start here, the foundation laid is solid, and a stop at uniquevaluecollection would round out their understanding nicely, this is the kind of resource I would point a friend toward without hesitation if they asked me where to begin learning about anything in this area.

  9. yourdealhub yourdealhub

    Now thinking the topic is more interesting than I had given it credit for, and a stop at yourdealhub continued that elevated interest, content that revives my curiosity about subjects I had set aside is doing genuine work in the structure of my interests and this site is providing that revivifying effect today actually.

  10. globalfashionmarket globalfashionmarket

    Found this through a friend who recommended it and now I see why, and a look at globalfashionmarket only strengthened that recommendation in my own mind, word of mouth still works for content that actually delivers and this site is clearly earning recommendations the old fashioned way through quality rather than marketing.

  11. opendealsmarket opendealsmarket

    A welcome contrast to the loud takes that have dominated my feed lately, and a look at opendealsmarket extended that calm voice, content that arrives without yelling has become unusual in the modern attention economy and this site is one of the few places I have found that consistently delivers without raising its voice.

Leave a Reply

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