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)

8,809 Comments

  1. The pacing of the post was just right, never rushed and never dragged out unnecessarily, and a look at pyxedge maintained the same rhythm, you can tell the writer has experience because the difficult skill of pacing is something only practiced writers manage to handle well in long form content over time and across formats.

  2. Found a small mental shift after reading this, the framing here is just a bit different from the standard takes online, and a look at cobqix extended that fresh perspective across more material, the rare site whose voice actually changes how you think about something rather than just confirming existing beliefs.

  3. Now planning to share the link with a small group of readers I trust, and a look at intentionalclickpingexperience suggested more material to share with the same group, recommending content into a curated circle requires confidence in the recommendation and this site is making me confident in those personal recommendations on multiple separate occasions now.

  4. Just nice to read something that does not feel like it was assembled from a content brief, and a stop at explorefreshthinking kept that handcrafted feel going, you can tell when a real human with real understanding is behind the words versus a templated piece churned out for an algorithm to find.

  5. Felt this in a way I cannot quite explain, the topic just hit different here, and a stop at findyournextmove continued in that vein, sometimes you find a site whose perspective lines up with how you have been thinking and reading their work feels like a small relief which I appreciated more than I expected.

  6. Thanks for not padding this with the usual filler intros and outros that every other blog seems to require, and a quick visit to oldenneon continued that lean approach across more posts, content stripped of waste is content that respects you and I will always come back to that kind of approach.

  7. Started thinking about my own writing differently after reading, and a look at intentionalclickpingexperience continued that reflective effect, content that influences how I work rather than just informing what I know is content with the highest kind of impact and this site has triggered some of that reflective influence today on me.

  8. Got pulled in by the headline and stayed because the content actually delivered on the promise, and a stop at explorefreshthinking kept that trust intact, when a site lives up to its own framing it earns the right to keep showing up in my browser tabs going forward indefinitely from here on out really.

  9. Felt the post was written for someone like me without explicitly addressing me, and a look at learnandoptimize produced the same fit, when content lands on its target without pandering you know the writer has done careful audience thinking rather than relying on demographic targeting or interest signals to do the work of editorial decisions.

  10. Robertrox Robertrox

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

  11. Started reading skeptically because the headline seemed overconfident, and the post earned the headline by the end, and a look at unionstaff continued that pattern of earning its claims, sites that can back up their headlines without overpromising are rare and this one has clearly developed editorial calibration on that front consistently.

  12. Really appreciate that the writer did not assume I would read every other related post first, and a look at findyournextmove kept that self contained feel going where each piece can stand alone, accessibility for new readers is a sign of generous editorial thinking and this site has clearly invested in that approach.

  13. Easy to recommend without reservations, the site delivers on every promise it implicitly makes, and a look at oldenneon kept that same standard going, the kind of consistency that earns trust over time rather than chasing it through aggressive marketing is what I see here and it is appreciated greatly by this particular reader today.

  14. Reading carefully this time rather than scanning, and the depth shows up in places I missed first time around, and a look at learnandoptimize 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.

  15. Closed it feeling slightly more competent in the topic than I started, and a stop at vergetrophy reinforced that competence boost, real learning is rare in casual online reading but it does happen sometimes and this site managed to make it happen for me today which is genuinely worth pausing to acknowledge.

  16. Stands out for actually being useful instead of just being long, and a look at twinetyphoon kept that going, length without value is the default mode of most blogs these days but this site has clearly chosen a different path which I respect a lot as a reader who values careful editing decisions like that.

  17. Came away with a small but real shift in perspective on the topic, and a stop at flonox pushed that shift a bit further, the kind of subtle reframing that good writing does to a reader without making a big deal of it is something I always appreciate when it happens which is sadly not that often.

  18. Closed the tab with a small sense of finality rather than the usual rushed exit, and a stop at tallyvertex produced the same considered closing, when reading ends with deliberate satisfaction rather than impatient skip you know the time was well spent and this site is producing those satisfying endings consistently across what I read.

  19. Found this through a search that was generic enough I did not expect quality results, and a look at swiftvantage continued the surprisingly good experience, search engines occasionally still surface excellent independent content if you scroll past the obvious paid and high authority results which is reassuring to remember sometimes.

  20. Speaking from the perspective of having read widely on the topic this site offers something distinct, and a look at honeymeadowmarketgallery reinforced that distinctness, the rare site that contributes something genuinely original to a saturated topic is the rare site worth following carefully and this one has demonstrated that original contribution capability today.

  21. Decided to write a short note to the author if there is contact info anywhere, and a stop at vergetrophy extended that intention, the urge to thank the writer directly is a strong signal of content quality and this site has triggered that urge in me today which is a fairly rare event for my reading.

  22. A small thing but the line spacing and font choices made reading this physically pleasant, and a look at flonox maintained the same careful design, technical choices about typography are part of what makes online reading actually comfortable and this site has clearly invested in the design layer alongside the content layer carefully.

  23. A memorable post for me on a topic I had thought I was tired of, and a look at thatchteapot suggested the same site can refresh other tired topics, sites that can revive my interest in subjects I had written off as exhausted are doing rare work and this one is clearly doing that for me today.

  24. Well crafted post, the structure flows naturally from one point to the next without forcing transitions, and a stop at hekblade kept the same flow going, you can tell when a writer has thought about how their content reads rather than just what it contains and this is one of those examples.

  25. 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 stridertorch 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.

  26. Speaking as someone who reads a lot on this topic this site has earned a high position in my source rankings, and a stop at discoverlimitlessideas reinforced that ranking, the informal ranking of sources for a topic is something I maintain mentally and this site has moved into the upper portion of those rankings clearly.

  27. Will be back, that is the simplest way to say it, and a quick visit to syxblue reinforced the decision, this site has earned a spot in my regular rotation alongside a few other reliable places I check when I want something genuinely informative without all the usual modern web noise getting in the way.

  28. Honest opinion is that this is the kind of post that builds long term trust with readers, and a look at onionoval reinforced that perception, the slow accumulation of trust through consistent quality is the only sustainable way to build a real audience and this site is clearly playing that long game.

  29. A small thing but the line spacing and font choices made reading this physically pleasant, and a look at thatchteapot maintained the same careful design, technical choices about typography are part of what makes online reading actually comfortable and this site has clearly invested in the design layer alongside the content layer carefully.

  30. Skipped past the first paragraph thinking it was setup and had to come back when the rest referenced it, and a stop at buildmeaningfulprogress similarly rewarded careful reading from the start, content where every paragraph carries weight is content I now know to read from the beginning rather than skipping ahead.

  31. Now wishing more sites covered topics with this level of care, and a look at corlex extended that wish across more subjects, the rarity of careful coverage on most topics is a problem and this site is one of the small antidotes to that broader pattern of casual or surface treatment of complex subjects.

  32. Honest opinion is that this is the kind of post that builds long term trust with readers, and a look at onionoval reinforced that perception, the slow accumulation of trust through consistent quality is the only sustainable way to build a real audience and this site is clearly playing that long game.

  33. Worth pointing out that the writer made the topic feel more interesting than I had been expecting, and a look at japarrow continued that elevation effect, content that improves the apparent quality of its subject through skilled treatment is doing something real and this site has clearly developed that kind of editorial alchemy throughout.

  34. A genuine compliment to the writer for keeping the post focused on what mattered, and a look at discoverandgrow continued that disciplined focus, focus is a editorial choice that compounds across many small decisions and this site has clearly made those small decisions consistently across what I have read so far this week here.

  35. Now planning to recommend this site in a context where my recommendations are taken seriously, and a stop at grohax confirmed I should make that recommendation soon, the small but real act of recommending content into spaces where my taste matters is something I take seriously and this site is worth the recommendation.

  36. Jerryrhiva Jerryrhiva

    Этот информационный материал подробно освещает проблему наркозависимости, ее причины и последствия. Мы предлагаем информацию о методах лечения, профилактики и поддерживающих программах. Цель статьи — повысить осведомленность и продвигать идеи о необходимости борьбы с зависимостями.
    Не упусти важное! – капельница от похмелья услуги

  37. Genuinely useful read, the points are practical and easy to apply right away, and a quick look at scopeviceroy confirmed that this site is consistent in that approach, looking forward to digging through the rest of it when I get the chance to sit down properly later in the week or this weekend.

  38. Now adjusting my mental list of reliable sites for this topic, and a stop at grohax reinforced the adjustment, the small ongoing curation work of maintaining trusted sources is one of the actual practical activities of careful reading and this site has earned a permanent place on my list for this particular subject.

  39. Appreciated how the post felt complete without overstaying its welcome, and a stop at towershimmer confirmed that economical approach runs across the site, knowing when to stop is a skill many writers never develop but here the discipline is obvious and welcome from the perspective of a busy reader trying to learn things efficiently.

  40. Came across this looking for something else entirely and ended up reading it through twice, and a look at buildsuccessmindset pulled me deeper into the site than I planned, the writing has a way of holding attention without resorting to manipulative cliffhangers or vague promises that never get delivered later down the page.

  41. Now feeling the post has earned a proper recommendation rather than a casual mention, and a stop at learnbyexperience reinforced the recommendation strength, the difference between mentioning and recommending is a small editorial distinction I observe in my own conversations and this site has earned the upgraded recommendation level from me confidently today.

  42. Picked this up between two other things I was doing and got drawn in completely, and after findpurposequickly my original tasks were completely forgotten for a while, content that derails a workflow in a positive way by being more interesting than what you were already doing is rare and worth recognising clearly.

  43. A piece that was confident enough to leave some questions open rather than forcing closure, and a look at operalucid 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.

  44. Now considering the post as evidence that careful blog writing is still possible, and a look at sambavarsity extended that evidence, the broader question of whether the modern web can sustain quality writing has obvious empirical answers in sites like this one and seeing them is reassuring even when they remain a minority overall today.

  45. Now planning to recommend this site in a context where my recommendations are taken seriously, and a stop at jeqblue confirmed I should make that recommendation soon, the small but real act of recommending content into spaces where my taste matters is something I take seriously and this site is worth the recommendation.

  46. Reading this gave me a small framework I expect to use going forward, and a stop at startbuildingnow extended that framework, content that produces transferable mental models rather than just specific facts is content with multiplicative value and this site is providing those models at a rate that justifies extra attention from me regularly.

  47. Reading this back to back with a similar piece elsewhere made the quality difference obvious, and a stop at findpurposequickly only widened the gap, comparing content side by side is a useful exercise and the gap between this site and average competitors in the space is large enough to be noticeable from the first paragraph.

Leave a Reply

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