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)

3,326 Comments

  1. Worth pointing out the careful word choice in this post, no buzzwords and no jargon, and a look at wildmooncorners continued that disciplined vocabulary, sites that resist the pull of trendy language are sites that will read well in five years and this one is clearly built for that kind of long durability.

  2. A relief to read something where I did not have to fact check every claim mentally, and a look at freshgiftcollection continued that reliable feeling, sites where I can lower my guard and trust the content are rare and this one is earning that trust paragraph by paragraph through consistent careful work behind the scenes.

  3. growwithpurpose growwithpurpose

    If you scroll past this site without looking carefully you will miss something, and a stop at growwithpurpose extended that mild warning, the surface of the site does not advertise its quality loudly which means careful attention is required to recognise what is being offered here which is itself a kind of editorial signal.

  4. Thank you for the genuine effort here, it shows in every paragraph and not just the headline, and after my visit to midnighttrendhouse I was sure this site cares about getting things right rather than chasing clicks, which is the main reason I will come back later this week to read more.

  5. Found the use of subheadings really helpful for scanning back through the post later, and a stop at timberpathstore kept that reader friendly approach going, navigation is something many blog writers ignore but small structural choices make a noticeable difference for someone returning to find a specific point again days or weeks later.

  6. I have been curious about these trends, and you have really helped me. I have just told a few of my friends about this on FaceBook and they love your content just as much as I do.

  7. Worth recognising the absence of the usual blog tropes here, and a look at discovertrendhub continued that fresh quality, sites that avoid the standard moves of the medium read as more original even when the content is on familiar topics and this one has clearly chosen its own path through the conventional terrain skilfully.

  8. urbantrendstore urbantrendstore

    Came in skeptical of the angle and left mostly persuaded, and a stop at urbantrendstore pushed me a bit further in the same direction, content that can move a critical reader by argument rather than rhetoric is rare and worth pointing out because it indicates real substance underneath the surface presentation here.

  9. Now noticing how rare it is to find a site that does not feel rushed, and a look at timelessgrovehub 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.

  10. Came across this through a roundabout path and now it is on my regular rotation, and a stop at rusticriverstudio sealed that decision, the open web still produces serendipitous discoveries when you let the citations and references guide you rather than relying purely on algorithmic feeds for new content recommendations always.

  11. A piece that was confident enough to leave some questions open rather than forcing closure, and a look at explorelimitlessgrowth continued that intellectual honesty, content that admits the limits of its scope is more trustworthy than content that pretends to total understanding and this site has the right calibration on certainty consistently.

  12. Really grateful for content like this, it does not waste my time and it does not insult my intelligence either, and a quick look at wildcoastworkshop was the same, balanced respectful writing that makes a person feel welcome rather than rushed through pages of forced engagement just to keep clicking around.

  13. Really appreciate the lack of pop ups, modals, cookie banners stacking on top of each other, and a quick visit to urbanstyleoutlet confirmed the same clean approach across the rest of the site, technical decisions about user experience are part of what makes content actually pleasant to engage with for sure.

  14. A well calibrated piece that knew its scope and stayed inside it, and a look at everwildgrove maintained the same scope discipline, scope creep is one of the failure modes of long blog posts and this site has clearly invested in the editorial discipline to prevent it which shows up in tightly contained pieces.

  15. Appreciated the way each section connected smoothly to the next without abrupt jumps, and a stop at budgetfriendlyhub kept that flow going nicely, transitions are something most blog writers ignore but the difference is huge for the reader who is trying to follow a sustained line of thought today across many different topics.

  16. Reading carefully this time rather than scanning, and the depth shows up in places I missed first time around, and a look at tallcedarmarket rewarded the same careful approach, content that holds up to multiple reads is content I want more of in my regular rotation rather than disposable scroll fodder daily.

  17. Worth a slow read rather than the fast scan I usually default to, and a look at shopwithstyletoday earned the same slower pace from me, content that resets my reading speed downward is content with substance worth absorbing and this site has produced that effect on me multiple times now over the last week here.

  18. Just sat back at the end of the post and felt grateful that someone took the time to write it, and a look at lushvalleychoice extended that gratitude across more of the site, recognising effort behind quality work is part of what makes the open web a community rather than just a marketplace today.

  19. Solid recommendation from me to anyone working in the area, the perspective here is grounded, and a look at budgetfriendlyhub adds even more useful angles, the kind of site that becomes a reference rather than just a one time read which is a higher bar than most blogs ever reach today on the modern web.

  20. Picked a single sentence from this post to remember, and a look at urbanstonegallery gave me another to keep, content that produces memorable lines is doing more than just transferring information and the small selection of sentences I keep from each reading session is one of the actual returns I get from reading carefully.

  21. Probably one of the more reliable sources I have found for this kind of careful coverage, and a look at discoverbettervalue reinforced the reliability, the small group of sources I would describe as reliable for a given topic is curated carefully and this site has earned a place in that small group through consistent performance.

  22. Honest take is that I will probably forget most of what I read online today but this post is one I will remember, and a stop at evergreenstyleplace kept that same memorable quality going, certain writing leaves a residue in the mind in a way most content simply does not manage.

Leave a Reply

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